Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.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.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.8/1.8, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.0009679/0.000968, allocations: 181.9 kB / 490.8 MB, free: 1.934 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.202/1.202, allocations: 221.4 MB / 0.7863 GB, free: 13.7 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.0008562/0.0008563, allocations: 80 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4223/0.4232, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.5989, allocations: 143 MB / 1.212 GB, free: 39.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5072/1.106, allocations: 178.5 MB / 1.386 GB, free: 16.74 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/1.106, allocations: 94.72 kB / 1.386 GB, free: 16.73 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.06366/1.17, allocations: 31.4 MB / 1.417 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/1.17, allocations: 8 kB / 1.417 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/1.171, allocations: 182.2 kB / 1.417 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/1.172, allocations: 369.6 kB / 1.417 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/1.172, allocations: 12 kB / 1.417 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-05/1.172, allocations: 24 kB / 1.417 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006838/1.173, allocations: 496.6 kB / 1.418 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008152/1.173, allocations: 0.7303 MB / 1.419 GB, free: 10.15 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/1.173, allocations: 7.844 kB / 1.419 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/1.173, allocations: 4 kB / 1.419 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.332e-05/1.173, allocations: 52.19 kB / 1.419 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003204/1.177, allocations: 4.401 MB / 1.423 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000717/1.177, allocations: 0.5206 MB / 1.423 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/1.178, allocations: 269 kB / 1.424 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/1.178, allocations: 7.188 kB / 1.424 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/1.178, allocations: 45.8 kB / 1.424 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=38): time 1.784e-06/1.178, allocations: 0 / 1.424 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.0009687/1.179, allocations: 0.6482 MB / 1.424 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/1.179, allocations: 81.11 kB / 1.424 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/1.179, allocations: 274.2 kB / 1.425 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/1.179, allocations: 29.64 kB / 1.425 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/1.179, allocations: 254 kB / 1.425 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.703e-05/1.179, allocations: 145.6 kB / 1.425 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/1.179, allocations: 0 / 1.425 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.319e-05/1.179, allocations: 344.1 kB / 1.425 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/1.18, allocations: 226.4 kB / 1.426 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/1.18, allocations: 432.7 kB / 1.426 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/1.18, allocations: 297.5 kB / 1.426 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/1.18, allocations: 0 / 1.426 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008696/1.181, allocations: 0.6695 MB / 1.427 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006503/1.182, allocations: 2.61 MB / 1.43 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/1.182, allocations: 8 kB / 1.43 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/1.182, allocations: 8 kB / 1.43 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007462/1.183, allocations: 178.4 kB / 1.43 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/1.183, allocations: 12 kB / 1.43 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/1.183, allocations: 63.78 kB / 1.43 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/1.183, allocations: 23.75 kB / 1.43 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.181e-06/1.183, allocations: 4 kB / 1.43 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006416/1.184, allocations: 499.8 kB / 1.43 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.184, allocations: 7.906 kB / 1.43 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/1.184, allocations: 12 kB / 1.43 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005815/1.185, allocations: 163.5 kB / 1.43 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/1.185, allocations: 15.94 kB / 1.43 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/1.185, allocations: 59.73 kB / 1.431 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/1.185, allocations: 23.81 kB / 1.431 GB, free: 14.42 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.0001104/1.185, allocations: 132 kB / 1.431 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.898e-05/1.185, allocations: 39.53 kB / 1.431 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007748/1.186, allocations: 0.5743 MB / 1.431 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.186, allocations: 4 kB / 1.431 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.186, allocations: 0 / 1.431 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/1.186, allocations: 3.984 kB / 1.431 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/1.188, allocations: 1.31 MB / 1.433 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.188, allocations: 0 / 1.433 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007291/1.188, allocations: 139.4 kB / 1.433 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/1.188, allocations: 4 kB / 1.433 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/1.188, allocations: 4 kB / 1.433 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/1.188, allocations: 7.984 kB / 1.433 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.188, allocations: 0 / 1.433 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007208/1.189, allocations: 0.8127 MB / 1.434 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008355/1.19, allocations: 1.19 MB / 1.435 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/1.19, allocations: 167.5 kB / 1.435 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.019e-05/1.19, allocations: 7.984 kB / 1.435 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/1.191, allocations: 47.89 kB / 1.435 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/1.191, allocations: 31.77 kB / 1.435 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/1.191, allocations: 15.94 kB / 1.435 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001601/1.191, allocations: 216.8 kB / 1.435 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001878/1.193, allocations: 187.9 kB / 1.435 GB, free: 10.02 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.0001286/1.193, allocations: 123.1 kB / 1.435 GB, free: 9.887 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009802/1.194, allocations: 0.8318 MB / 1.436 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.194, allocations: 0 / 1.436 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000331/1.194, allocations: 262.3 kB / 1.437 GB, free: 9.09 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005619/1.195, allocations: 103.1 kB / 1.437 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/1.196, allocations: 0.8293 MB / 1.437 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005912/1.197, allocations: 0.939 MB / 1.438 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of SimCode: time 2.4e-07/1.197, allocations: 7.938 kB / 1.438 GB, free: 7.273 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads_res.mat does not exist to compare? outputFormat=mat