Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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 8.1.4-maint.8.1.x/package.mo): time 1.37/1.37, allocations: 289.8 MB / 297.1 MB, free: 6.738 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 189.3 kB / 366.3 MB, free: 2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.039/1.039, allocations: 205.1 MB / 0.6256 GB, free: 5.895 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007873/0.0007873, allocations: 94.89 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1933/0.1941, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.6452, allocations: 116.3 MB / 0.9727 GB, free: 68.62 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1662/0.8114, allocations: 167.8 MB / 1.137 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.8117, allocations: 96.41 kB / 1.137 GB, free: 12.55 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.1906/1.002, allocations: 87.39 MB / 1.222 GB, free: 4.133 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/1.002, allocations: 8 kB / 1.222 GB, free: 4.125 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003725/1.006, allocations: 0.6761 MB / 1.223 GB, free: 3.445 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002482/1.009, allocations: 1.539 MB / 1.224 GB, free: 1.855 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.638e-05/1.009, allocations: 76 kB / 1.224 GB, free: 1.781 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000318/1.009, allocations: 143.9 kB / 1.224 GB, free: 1.641 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004047/1.013, allocations: 2.786 MB / 1.227 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004934/1.018, allocations: 3.558 MB / 1.231 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-05/1.018, allocations: 8 kB / 1.231 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002265/1.018, allocations: 4 kB / 1.231 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000143/1.018, allocations: 160.5 kB / 1.231 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2751/1.294, allocations: 15.99 MB / 1.246 GB, free: 269.4 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009651/1.295, allocations: 1.06 MB / 1.247 GB, free: 269.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006991/1.295, allocations: 0.6202 MB / 1.248 GB, free: 269.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/1.295, allocations: 97.67 kB / 1.248 GB, free: 269.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/1.295, allocations: 46.84 kB / 1.248 GB, free: 269.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=72): time 3.256e-06/1.295, allocations: 0 / 1.248 GB, free: 269.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76): time 0.003681/1.299, allocations: 2.812 MB / 1.251 GB, free: 268.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/1.299, allocations: 119.3 kB / 1.251 GB, free: 268.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008031/1.3, allocations: 0.849 MB / 1.252 GB, free: 268.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/1.3, allocations: 25.7 kB / 1.252 GB, free: 268.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000345/1.3, allocations: 1.01 MB / 1.253 GB, free: 267.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/1.301, allocations: 260.6 kB / 1.253 GB, free: 267.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.539e-05/1.301, allocations: 0 / 1.253 GB, free: 267.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001116/1.301, allocations: 414.7 kB / 1.253 GB, free: 267.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006433/1.301, allocations: 0.6298 MB / 1.254 GB, free: 267.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00081/1.302, allocations: 1.167 MB / 1.255 GB, free: 266.6 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/1.304, allocations: 1.011 MB / 1.256 GB, free: 266.6 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.304, allocations: 7.906 kB / 1.256 GB, free: 266.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002729/1.306, allocations: 2.052 MB / 1.258 GB, free: 266.4 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.306, allocations: 5.969 kB / 1.258 GB, free: 266.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/1.306, allocations: 24.05 kB / 1.258 GB, free: 266.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000384/1.307, allocations: 164.7 kB / 1.258 GB, free: 266.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/1.308, allocations: 326 kB / 1.259 GB, free: 266.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.268e-05/1.308, allocations: 44.3 kB / 1.259 GB, free: 266.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008527/1.309, allocations: 87.28 kB / 1.259 GB, free: 266.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.162e-05/1.309, allocations: 72.7 kB / 1.259 GB, free: 266.4 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001645/1.309, allocations: 149.3 kB / 1.259 GB, free: 266.3 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/1.309, allocations: 108.6 kB / 1.259 GB, free: 266.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/1.311, allocations: 1.353 MB / 1.26 GB, free: 266.1 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/1.311, allocations: 9.188 kB / 1.26 GB, free: 266.1 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/1.311, allocations: 0 / 1.26 GB, free: 266.1 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/1.311, allocations: 11.02 kB / 1.26 GB, free: 266.1 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00405/1.315, allocations: 3.36 MB / 1.264 GB, free: 265.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.315, allocations: 0 / 1.264 GB, free: 265.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006284/1.316, allocations: 163.2 kB / 1.264 GB, free: 265.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003083/1.316, allocations: 136.4 kB / 1.264 GB, free: 265.4 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/1.316, allocations: 6.562 kB / 1.264 GB, free: 265.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/1.316, allocations: 6.875 kB / 1.264 GB, free: 265.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.316, allocations: 9.531 kB / 1.264 GB, free: 265.4 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001592/1.318, allocations: 1.699 MB / 1.266 GB, free: 264.8 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001687/1.319, allocations: 2.091 MB / 1.268 GB, free: 263.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003609/1.32, allocations: 304.8 kB / 1.268 GB, free: 263.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/1.32, allocations: 3.75 kB / 1.268 GB, free: 263.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005945/1.321, allocations: 52.75 kB / 1.268 GB, free: 263.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.467e-05/1.321, allocations: 46.56 kB / 1.268 GB, free: 263.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/1.321, allocations: 26.72 kB / 1.268 GB, free: 263.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0005698/1.321, allocations: 0.6346 MB / 1.269 GB, free: 263.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001818/1.323, allocations: 380.5 kB / 1.269 GB, free: 263.6 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000191/1.323, allocations: 125.2 kB / 1.269 GB, free: 263.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001525/1.325, allocations: 1.749 MB / 1.271 GB, free: 263 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.325, allocations: 0 / 1.271 GB, free: 263 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0006629/1.326, allocations: 0.911 MB / 1.272 GB, free: 262.6 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009508/1.327, allocations: 207.6 kB / 1.272 GB, free: 262.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004342/1.331, allocations: 3.096 MB / 1.275 GB, free: 261.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001645/1.333, allocations: 2.056 MB / 1.277 GB, free: 261.2 MB / 0.8386 GB Notification: Performance of SimCode: time 4.3e-07/1.333, allocations: 0 / 1.277 GB, free: 261.2 MB / 0.8386 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)