Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads",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 9.1.1-maint.9.1.x/package.mo): time 1.799/1.799, allocations: 387.2 MB / 394.5 MB, free: 13.72 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.0009059/0.0009056, allocations: 181.2 kB / 487 MB, free: 5.391 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.121/1.121, allocations: 221.3 MB / 0.7819 GB, free: 1.461 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008088/0.0008088, allocations: 102.9 kB / 0.9213 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4122/0.413, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.5966, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5292/1.126, allocations: 177.8 MB / 1.379 GB, free: 14.68 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/1.126, allocations: 91.22 kB / 1.379 GB, free: 14.62 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.0672/1.193, allocations: 31.4 MB / 1.41 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/1.193, allocations: 8 kB / 1.41 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/1.195, allocations: 179.1 kB / 1.41 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004811/1.195, allocations: 366.8 kB / 1.41 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/1.195, allocations: 12 kB / 1.41 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.102e-05/1.195, allocations: 24 kB / 1.41 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007217/1.196, allocations: 492.6 kB / 1.411 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008621/1.197, allocations: 0.7251 MB / 1.411 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/1.197, allocations: 7.844 kB / 1.411 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/1.197, allocations: 4 kB / 1.411 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.355e-05/1.197, allocations: 63.61 kB / 1.411 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003648/1.201, allocations: 4.397 MB / 1.416 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007929/1.201, allocations: 0.5188 MB / 1.416 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/1.202, allocations: 276 kB / 1.417 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/1.202, allocations: 7.859 kB / 1.417 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/1.202, allocations: 33.94 kB / 1.417 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=38): time 3.196e-06/1.202, allocations: 0 / 1.417 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of matching and sorting (n=39): time 0.001021/1.203, allocations: 0.6539 MB / 1.417 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/1.203, allocations: 81.11 kB / 1.417 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/1.203, allocations: 275.7 kB / 1.418 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/1.203, allocations: 25.7 kB / 1.418 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/1.203, allocations: 260.8 kB / 1.418 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.841e-05/1.203, allocations: 135.8 kB / 1.418 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/1.203, allocations: 0 / 1.418 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.203, allocations: 345.3 kB / 1.418 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/1.204, allocations: 233.6 kB / 1.418 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003805/1.204, allocations: 430.5 kB / 1.419 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/1.205, allocations: 292.4 kB / 1.419 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.205, allocations: 0 / 1.419 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008856/1.205, allocations: 0.6767 MB / 1.42 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007208/1.206, allocations: 2.61 MB / 1.422 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.206, allocations: 8 kB / 1.422 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/1.206, allocations: 11.98 kB / 1.422 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007757/1.207, allocations: 170.3 kB / 1.423 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/1.207, allocations: 27.91 kB / 1.423 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/1.207, allocations: 59.8 kB / 1.423 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/1.208, allocations: 31.45 kB / 1.423 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.55e-06/1.208, allocations: 4 kB / 1.423 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006557/1.208, allocations: 498.8 kB / 1.423 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/1.208, allocations: 4 kB / 1.423 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/1.208, allocations: 12 kB / 1.423 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/1.209, allocations: 155.2 kB / 1.423 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/1.209, allocations: 19.92 kB / 1.423 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003545/1.209, allocations: 55.75 kB / 1.423 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/1.209, allocations: 29.61 kB / 1.423 GB, free: 6.711 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.0001195/1.209, allocations: 127.7 kB / 1.424 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.915e-05/1.209, allocations: 39.53 kB / 1.424 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008163/1.21, allocations: 0.5703 MB / 1.424 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.21, allocations: 4 kB / 1.424 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/1.21, allocations: 0 / 1.424 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.21, allocations: 0 / 1.424 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/1.212, allocations: 1.306 MB / 1.425 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.212, allocations: 3.984 kB / 1.425 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007458/1.213, allocations: 143.2 kB / 1.426 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/1.213, allocations: 4 kB / 1.426 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/1.213, allocations: 4 kB / 1.426 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/1.213, allocations: 8 kB / 1.426 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.213, allocations: 0 / 1.426 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007637/1.214, allocations: 0.8139 MB / 1.426 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008548/1.214, allocations: 1.185 MB / 1.428 GB, free: 2.926 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/1.215, allocations: 166.1 kB / 1.428 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.487e-05/1.215, allocations: 4 kB / 1.428 GB, free: 2.754 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004491/1.215, allocations: 51.88 kB / 1.428 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.488e-05/1.215, allocations: 35.56 kB / 1.428 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/1.215, allocations: 12 kB / 1.428 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.000176/1.216, allocations: 214.1 kB / 1.428 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001839/1.217, allocations: 193.5 kB / 1.428 GB, free: 2.316 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.0001842/1.218, allocations: 112.4 kB / 1.428 GB, free: 2.199 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001098/1.219, allocations: 0.8329 MB / 1.429 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.219, allocations: 0 / 1.429 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003403/1.219, allocations: 269.7 kB / 1.429 GB, free: 1.395 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/1.22, allocations: 106.8 kB / 1.429 GB, free: 1.312 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/1.221, allocations: 0.8234 MB / 1.43 GB, free: 0.5391 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006101/1.222, allocations: 0.944 MB / 1.431 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of SimCode: time 2.71e-07/1.222, allocations: 3.938 kB / 1.431 GB, free: 15.59 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads_res.mat does not exist to compare? outputFormat=mat