Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.237/1.237, allocations: 249.4 MB / 256.7 MB, free: 15.83 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000985/0.0009849, allocations: 184.4 kB / 316 MB, free: 7.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.1 MB / 0.5667 GB, free: 23.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007726/0.0007726, allocations: 86.09 kB / 0.671 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.194/0.1948, allocations: 112.5 MB / 0.7808 GB, free: 296 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.5795, allocations: 106.3 MB / 0.8847 GB, free: 76.26 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4364/1.016, allocations: 159.9 MB / 1.041 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/1.016, allocations: 90.52 kB / 1.041 GB, free: 150.2 MB / 0.6823 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.06443/1.081, allocations: 28.72 MB / 1.069 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/1.081, allocations: 12 kB / 1.069 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/1.082, allocations: 187 kB / 1.069 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/1.082, allocations: 361.5 kB / 1.07 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/1.082, allocations: 19.91 kB / 1.07 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/1.082, allocations: 24 kB / 1.07 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006218/1.083, allocations: 489.8 kB / 1.07 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007064/1.084, allocations: 0.7232 MB / 1.071 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/1.084, allocations: 4 kB / 1.071 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.337e-05/1.084, allocations: 7.938 kB / 1.071 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.836e-05/1.084, allocations: 60.73 kB / 1.071 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002588/1.086, allocations: 4.404 MB / 1.075 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006519/1.087, allocations: 0.5206 MB / 1.076 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/1.087, allocations: 265.6 kB / 1.076 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/1.087, allocations: 11.89 kB / 1.076 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/1.087, allocations: 38.56 kB / 1.076 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=38): time 1.693e-06/1.087, allocations: 0 / 1.076 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.0008919/1.088, allocations: 0.6473 MB / 1.077 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.92e-05/1.088, allocations: 81.11 kB / 1.077 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/1.089, allocations: 281.8 kB / 1.077 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/1.089, allocations: 25.7 kB / 1.077 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/1.089, allocations: 255.8 kB / 1.077 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/1.089, allocations: 134 kB / 1.077 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/1.089, allocations: 0 / 1.077 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.165e-05/1.089, allocations: 346.8 kB / 1.078 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/1.089, allocations: 233.2 kB / 1.078 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/1.089, allocations: 424.3 kB / 1.078 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/1.09, allocations: 295.5 kB / 1.079 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.09, allocations: 4 kB / 1.079 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0007835/1.091, allocations: 0.6764 MB / 1.079 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003562/1.091, allocations: 2.607 MB / 1.082 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.091, allocations: 11.92 kB / 1.082 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/1.091, allocations: 12 kB / 1.082 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000719/1.092, allocations: 171.8 kB / 1.082 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/1.092, allocations: 15.92 kB / 1.082 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004772/1.092, allocations: 67.7 kB / 1.082 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/1.092, allocations: 27.98 kB / 1.082 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.031e-06/1.092, allocations: 6.344 kB / 1.082 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005569/1.093, allocations: 488 kB / 1.083 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.093, allocations: 8 kB / 1.083 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/1.093, allocations: 12 kB / 1.083 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005453/1.093, allocations: 159.8 kB / 1.083 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/1.093, allocations: 19.97 kB / 1.083 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/1.094, allocations: 63.66 kB / 1.083 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/1.094, allocations: 31.98 kB / 1.083 GB, free: 118.8 MB / 0.6823 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 9.716e-05/1.094, allocations: 128.7 kB / 1.083 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.545e-05/1.094, allocations: 43.44 kB / 1.083 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007109/1.095, allocations: 0.5641 MB / 1.083 GB, free: 118 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.095, allocations: 4 kB / 1.084 GB, free: 118 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.095, allocations: 7.938 kB / 1.084 GB, free: 118 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/1.095, allocations: 0 / 1.084 GB, free: 118 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/1.096, allocations: 1.295 MB / 1.085 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.096, allocations: 4 kB / 1.085 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006955/1.097, allocations: 140 kB / 1.085 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/1.097, allocations: 4 kB / 1.085 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/1.097, allocations: 0 / 1.085 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/1.097, allocations: 8 kB / 1.085 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.097, allocations: 11.84 kB / 1.085 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006331/1.098, allocations: 0.7954 MB / 1.086 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007145/1.098, allocations: 1.193 MB / 1.087 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/1.098, allocations: 168.5 kB / 1.087 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.224e-05/1.099, allocations: 3.906 kB / 1.087 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/1.099, allocations: 51.94 kB / 1.087 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.143e-05/1.099, allocations: 31.97 kB / 1.087 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/1.099, allocations: 8 kB / 1.087 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001839/1.099, allocations: 224.6 kB / 1.087 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002054/1.101, allocations: 188 kB / 1.088 GB, free: 113.7 MB / 0.6823 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.0001488/1.102, allocations: 119.1 kB / 1.088 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009617/1.103, allocations: 0.8411 MB / 1.088 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/1.103, allocations: 0 / 1.088 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003024/1.103, allocations: 266.4 kB / 1.089 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005886/1.103, allocations: 93.67 kB / 1.089 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/1.105, allocations: 0.8228 MB / 1.09 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004574/1.105, allocations: 0.937 MB / 1.091 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of SimCode: time 3.11e-07/1.105, allocations: 7.875 kB / 1.091 GB, free: 110.5 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)