Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.8/1.8, allocations: 390.4 MB / 397.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009831/0.000983, allocations: 181.2 kB / 490.8 MB, free: 1.918 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.124/1.124, allocations: 221.3 MB / 0.7863 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008606/0.0008608, allocations: 94.78 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4169/0.4178, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.6023, allocations: 143 MB / 1.212 GB, free: 39.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5219/1.124, allocations: 181.2 MB / 1.389 GB, free: 15.57 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/1.124, allocations: 97.64 kB / 1.389 GB, free: 15.55 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.04272/1.167, allocations: 20.38 MB / 1.409 GB, free: 18.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/1.167, allocations: 8 kB / 1.409 GB, free: 18.24 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007667/1.168, allocations: 103 kB / 1.409 GB, free: 18.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/1.168, allocations: 257.3 kB / 1.409 GB, free: 17.87 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/1.168, allocations: 8 kB / 1.409 GB, free: 17.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/1.168, allocations: 12 kB / 1.409 GB, free: 17.85 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003684/1.169, allocations: 266.8 kB / 1.409 GB, free: 17.67 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003685/1.169, allocations: 339.4 kB / 1.41 GB, free: 17.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/1.169, allocations: 7.938 kB / 1.41 GB, free: 17.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/1.169, allocations: 0 / 1.41 GB, free: 17.37 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.84e-05/1.169, allocations: 23.77 kB / 1.41 GB, free: 17.35 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/1.171, allocations: 1.677 MB / 1.411 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/1.171, allocations: 283.1 kB / 1.412 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/1.171, allocations: 168.5 kB / 1.412 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/1.171, allocations: 89.5 kB / 1.412 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/1.171, allocations: 34.19 kB / 1.412 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.363e-06/1.171, allocations: 8 kB / 1.412 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.002922/1.174, allocations: 1.099 MB / 1.413 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/1.174, allocations: 81.11 kB / 1.413 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/1.174, allocations: 152.5 kB / 1.413 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/1.174, allocations: 25.7 kB / 1.413 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.952e-05/1.175, allocations: 142.4 kB / 1.413 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.679e-05/1.175, allocations: 113 kB / 1.413 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/1.175, allocations: 0 / 1.413 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.175, allocations: 337.8 kB / 1.414 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/1.175, allocations: 219.9 kB / 1.414 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003822/1.175, allocations: 309 kB / 1.414 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006151/1.176, allocations: 303 kB / 1.415 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/1.176, allocations: 0 / 1.415 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001083/1.177, allocations: 0.6225 MB / 1.415 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002777/1.178, allocations: 0.8736 MB / 1.416 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/1.178, allocations: 0 / 1.416 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.178, allocations: 12.03 kB / 1.416 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009956/1.179, allocations: 155.5 kB / 1.416 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/1.179, allocations: 4 kB / 1.416 GB, free: 11.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/1.179, allocations: 39.95 kB / 1.416 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-05/1.179, allocations: 19.55 kB / 1.416 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.021e-06/1.179, allocations: 4 kB / 1.416 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008528/1.18, allocations: 462.7 kB / 1.417 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/1.18, allocations: 8.062 kB / 1.417 GB, free: 11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.52e-06/1.18, allocations: 4 kB / 1.417 GB, free: 11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007503/1.181, allocations: 130.8 kB / 1.417 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/1.181, allocations: 8 kB / 1.417 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/1.181, allocations: 27.97 kB / 1.417 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/1.181, allocations: 18.98 kB / 1.417 GB, free: 10.82 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/1.181, allocations: 116.1 kB / 1.417 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.651e-05/1.181, allocations: 23.81 kB / 1.417 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/1.182, allocations: 0.6538 MB / 1.418 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/1.182, allocations: 4 kB / 1.418 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.182, allocations: 0 / 1.418 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/1.182, allocations: 3.906 kB / 1.418 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/1.184, allocations: 1.276 MB / 1.419 GB, free: 9.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/1.184, allocations: 3.984 kB / 1.419 GB, free: 9.078 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006623/1.185, allocations: 127.1 kB / 1.419 GB, free: 8.957 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/1.185, allocations: 3.906 kB / 1.419 GB, free: 8.953 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/1.185, allocations: 7.984 kB / 1.419 GB, free: 8.945 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/1.185, allocations: 7.938 kB / 1.419 GB, free: 8.938 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.185, allocations: 4 kB / 1.419 GB, free: 8.934 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008774/1.186, allocations: 0.7741 MB / 1.42 GB, free: 8.211 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009444/1.187, allocations: 1.17 MB / 1.421 GB, free: 7.098 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/1.187, allocations: 144.7 kB / 1.421 GB, free: 6.953 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/1.187, allocations: 4 kB / 1.421 GB, free: 6.949 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/1.187, allocations: 31.95 kB / 1.421 GB, free: 6.918 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.797e-05/1.187, allocations: 35.06 kB / 1.421 GB, free: 6.887 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/1.188, allocations: 14.88 kB / 1.421 GB, free: 6.875 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.137e-05/1.188, allocations: 135.7 kB / 1.421 GB, free: 6.758 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001763/1.189, allocations: 150.3 kB / 1.421 GB, free: 6.621 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001846/1.19, allocations: 147 kB / 1.422 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008975/1.19, allocations: 0.7207 MB / 1.422 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.191, allocations: 0 / 1.422 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002732/1.191, allocations: 235.3 kB / 1.422 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/1.191, allocations: 22.67 kB / 1.422 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/1.192, allocations: 0.5898 MB / 1.423 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005055/1.193, allocations: 0.8293 MB / 1.424 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.193, allocations: 3.938 kB / 1.424 GB, free: 4.41 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat does not exist to compare? outputFormat=mat