Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_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 10.0.0-master/package.mo): time 1.818/1.818, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001015/0.001015, allocations: 191.9 kB / 490.8 MB, free: 1.941 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.127/1.127, allocations: 221.3 MB / 0.7863 GB, free: 13.73 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.0008716/0.0008717, allocations: 92.61 kB / 0.9264 GB, free: 14.26 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.409/0.4099, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.5857, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4968/1.083, allocations: 165.9 MB / 1.374 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/1.083, allocations: 94.44 kB / 1.374 GB, free: 17.17 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.06635/1.149, allocations: 32.9 MB / 1.406 GB, free: 19.93 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/1.149, allocations: 15.98 kB / 1.406 GB, free: 19.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/1.15, allocations: 210.5 kB / 1.406 GB, free: 19.71 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005838/1.151, allocations: 498.2 kB / 1.407 GB, free: 19.24 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/1.151, allocations: 12 kB / 1.407 GB, free: 19.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.709e-05/1.151, allocations: 31 kB / 1.407 GB, free: 19.2 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005284/1.152, allocations: 426.9 kB / 1.407 GB, free: 18.92 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007153/1.152, allocations: 0.8583 MB / 1.408 GB, free: 18.03 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/1.152, allocations: 11.84 kB / 1.408 GB, free: 18.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.343e-05/1.152, allocations: 7.938 kB / 1.408 GB, free: 18.01 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.442e-05/1.152, allocations: 63.17 kB / 1.408 GB, free: 17.96 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003071/1.156, allocations: 5.563 MB / 1.413 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004562/1.156, allocations: 420.4 kB / 1.414 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/1.156, allocations: 223.3 kB / 1.414 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/1.156, allocations: 7.984 kB / 1.414 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/1.156, allocations: 38.44 kB / 1.414 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=32): time 1.412e-06/1.156, allocations: 0 / 1.414 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.001293/1.158, allocations: 0.8264 MB / 1.415 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/1.158, allocations: 55.41 kB / 1.415 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/1.158, allocations: 362.1 kB / 1.415 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/1.158, allocations: 25.7 kB / 1.415 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/1.158, allocations: 292.9 kB / 1.416 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.171e-05/1.158, allocations: 119.1 kB / 1.416 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.827e-05/1.158, allocations: 7.938 kB / 1.416 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001054/1.158, allocations: 357.3 kB / 1.416 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/1.159, allocations: 185.9 kB / 1.416 GB, free: 9.996 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/1.159, allocations: 387.9 kB / 1.417 GB, free: 9.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/1.159, allocations: 254 kB / 1.417 GB, free: 9.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/1.159, allocations: 4 kB / 1.417 GB, free: 9.406 MB / 0.8386 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001007/1.16, allocations: 0.7073 MB / 1.417 GB, free: 8.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/1.16, allocations: 10.81 kB / 1.417 GB, free: 8.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.16, allocations: 8 kB / 1.417 GB, free: 8.805 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004388/1.161, allocations: 143.8 kB / 1.418 GB, free: 8.672 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/1.161, allocations: 110.9 kB / 1.418 GB, free: 8.566 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/1.164, allocations: 3.858 MB / 1.421 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/1.164, allocations: 15.98 kB / 1.422 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/1.164, allocations: 22.81 kB / 1.422 GB, free: 4.469 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001116/1.164, allocations: 140.1 kB / 1.422 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.866e-05/1.164, allocations: 59.34 kB / 1.422 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008486/1.165, allocations: 0.5737 MB / 1.422 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.165, allocations: 4 kB / 1.422 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/1.165, allocations: 4 kB / 1.422 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.165, allocations: 0 / 1.422 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/1.167, allocations: 1.175 MB / 1.423 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.167, allocations: 0 / 1.423 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/1.167, allocations: 48.12 kB / 1.423 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003726/1.167, allocations: 144.6 kB / 1.424 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/1.167, allocations: 4 kB / 1.424 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002371/1.17, allocations: 3.855 MB / 1.427 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.17, allocations: 4 kB / 1.427 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008573/1.171, allocations: 0.7699 MB / 1.428 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001042/1.172, allocations: 1.168 MB / 1.429 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/1.172, allocations: 163 kB / 1.429 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/1.172, allocations: 4 kB / 1.429 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/1.172, allocations: 11.98 kB / 1.429 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/1.172, allocations: 23.56 kB / 1.429 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/1.172, allocations: 11.94 kB / 1.429 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0002142/1.172, allocations: 265 kB / 1.43 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001141/1.174, allocations: 128 kB / 1.43 GB, free: 12.15 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001229/1.174, allocations: 107.2 kB / 1.43 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001052/1.175, allocations: 0.9654 MB / 1.431 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.175, allocations: 3.938 kB / 1.431 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006721/1.175, allocations: 0.7025 MB / 1.432 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007199/1.176, allocations: 167.2 kB / 1.432 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/1.177, allocations: 0.7592 MB / 1.433 GB, free: 9.551 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004678/1.178, allocations: 0.961 MB / 1.433 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of SimCode: time 2.7e-07/1.178, allocations: 4 kB / 1.433 GB, free: 8.566 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat does not exist to compare? outputFormat=mat