Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.248/1.248, allocations: 249.4 MB / 256.7 MB, free: 0.707 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 184.1 kB / 316 MB, free: 8.883 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.187/1.187, allocations: 205.1 MB / 0.5667 GB, free: 13.43 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008044/0.0008045, allocations: 87.84 kB / 0.671 GB, free: 51.59 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2007/0.2015, allocations: 112.5 MB / 0.7808 GB, free: 9.859 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4962/0.6977, allocations: 106.3 MB / 0.8847 GB, free: 89.17 MB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1719/0.8696, allocations: 146.6 MB / 1.028 GB, free: 15.01 MB / 0.6746 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.87, allocations: 91.94 kB / 1.028 GB, free: 14.92 MB / 0.6746 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.06272/0.9327, allocations: 27.77 MB / 1.055 GB, free: 3.168 MB / 0.6902 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.9327, allocations: 8 kB / 1.055 GB, free: 3.16 MB / 0.6902 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.9341, allocations: 187 kB / 1.055 GB, free: 2.977 MB / 0.6902 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005579/0.9347, allocations: 398.5 kB / 1.056 GB, free: 2.547 MB / 0.6902 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.9347, allocations: 12 kB / 1.056 GB, free: 2.535 MB / 0.6902 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/0.9348, allocations: 23.98 kB / 1.056 GB, free: 2.512 MB / 0.6902 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005493/0.9353, allocations: 357.6 kB / 1.056 GB, free: 2.156 MB / 0.6902 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000814/0.9362, allocations: 0.644 MB / 1.057 GB, free: 1.398 MB / 0.6902 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.9362, allocations: 11.94 kB / 1.057 GB, free: 1.387 MB / 0.6902 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.9362, allocations: 7.906 kB / 1.057 GB, free: 1.379 MB / 0.6902 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.969e-05/0.9363, allocations: 55.17 kB / 1.057 GB, free: 1.328 MB / 0.6902 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003056/0.9394, allocations: 3.709 MB / 1.06 GB, free: 13.37 MB / 0.7058 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006371/0.94, allocations: 428 kB / 1.061 GB, free: 12.93 MB / 0.7058 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.9402, allocations: 174.5 kB / 1.061 GB, free: 12.75 MB / 0.7058 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.9403, allocations: 7.188 kB / 1.061 GB, free: 12.74 MB / 0.7058 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.9403, allocations: 42.69 kB / 1.061 GB, free: 12.69 MB / 0.7058 GB Notification: Performance of pre-optimization done (n=30): time 2.525e-06/0.9403, allocations: 4 kB / 1.061 GB, free: 12.69 MB / 0.7058 GB Notification: Performance of matching and sorting (n=33): time 0.001435/0.9418, allocations: 0.8114 MB / 1.062 GB, free: 11.86 MB / 0.7058 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.9418, allocations: 106.8 kB / 1.062 GB, free: 11.73 MB / 0.7058 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.9421, allocations: 296.8 kB / 1.062 GB, free: 11.44 MB / 0.7058 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.9422, allocations: 25.7 kB / 1.062 GB, free: 11.41 MB / 0.7058 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.9423, allocations: 243.4 kB / 1.062 GB, free: 11.16 MB / 0.7058 GB Notification: Performance of collectInitialBindings (initialization): time 7.914e-05/0.9424, allocations: 110.3 kB / 1.062 GB, free: 11.05 MB / 0.7058 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/0.9424, allocations: 0 / 1.062 GB, free: 11.05 MB / 0.7058 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.9426, allocations: 356.9 kB / 1.063 GB, free: 10.7 MB / 0.7058 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.9428, allocations: 160.9 kB / 1.063 GB, free: 10.54 MB / 0.7058 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/0.9431, allocations: 339.8 kB / 1.063 GB, free: 10.12 MB / 0.7058 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.9434, allocations: 223.7 kB / 1.064 GB, free: 9.906 MB / 0.7058 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.9434, allocations: 0 / 1.064 GB, free: 9.906 MB / 0.7058 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008611/0.9442, allocations: 0.6035 MB / 1.064 GB, free: 9.285 MB / 0.7058 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.9443, allocations: 8.031 kB / 1.064 GB, free: 9.277 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.9443, allocations: 4 kB / 1.064 GB, free: 9.273 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003109/0.9446, allocations: 90.52 kB / 1.064 GB, free: 9.176 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.945, allocations: 103.8 kB / 1.064 GB, free: 9.074 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002937/0.9479, allocations: 3.853 MB / 1.068 GB, free: 4.879 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/0.9483, allocations: 11.98 kB / 1.068 GB, free: 4.867 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.9483, allocations: 24 kB / 1.068 GB, free: 4.844 MB / 0.7058 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * 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: 3 * Mixed (continuous/discrete) equation systems: 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.0001319/0.9484, allocations: 132.7 kB / 1.068 GB, free: 4.707 MB / 0.7058 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.9486, allocations: 45.28 kB / 1.068 GB, free: 4.664 MB / 0.7058 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008393/0.9494, allocations: 0.4973 MB / 1.069 GB, free: 4.152 MB / 0.7058 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.9494, allocations: 4 kB / 1.069 GB, free: 4.148 MB / 0.7058 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.9494, allocations: 4 kB / 1.069 GB, free: 4.145 MB / 0.7058 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.9494, allocations: 3.984 kB / 1.069 GB, free: 4.141 MB / 0.7058 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.951, allocations: 1.196 MB / 1.07 GB, free: 2.863 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.951, allocations: 0 / 1.07 GB, free: 2.863 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.9513, allocations: 59.91 kB / 1.07 GB, free: 2.805 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00026/0.9515, allocations: 90.73 kB / 1.07 GB, free: 2.707 MB / 0.7058 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.9516, allocations: 4 kB / 1.07 GB, free: 2.703 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00276/0.9543, allocations: 3.851 MB / 1.074 GB, free: 14.51 MB / 0.7214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.9544, allocations: 4 kB / 1.074 GB, free: 14.51 MB / 0.7214 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008881/0.9553, allocations: 0.892 MB / 1.075 GB, free: 13.5 MB / 0.7214 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009501/0.9562, allocations: 1.272 MB / 1.076 GB, free: 12.11 MB / 0.7214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.9564, allocations: 152.4 kB / 1.076 GB, free: 11.94 MB / 0.7214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.547e-05/0.9565, allocations: 4 kB / 1.076 GB, free: 11.93 MB / 0.7214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.9568, allocations: 15.97 kB / 1.076 GB, free: 11.92 MB / 0.7214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.9568, allocations: 27.83 kB / 1.076 GB, free: 11.89 MB / 0.7214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.9569, allocations: 15.98 kB / 1.076 GB, free: 11.88 MB / 0.7214 GB Notification: Performance of sort global known variables: time 0.0002135/0.9571, allocations: 235.2 kB / 1.076 GB, free: 11.65 MB / 0.7214 GB Notification: Performance of remove unused functions: time 0.001211/0.9583, allocations: 112 kB / 1.077 GB, free: 11.54 MB / 0.7214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 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.0001486/0.9585, allocations: 104.8 kB / 1.077 GB, free: 11.43 MB / 0.7214 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.9595, allocations: 0.7516 MB / 1.077 GB, free: 10.65 MB / 0.7214 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.9595, allocations: 0 / 1.077 GB, free: 10.65 MB / 0.7214 GB Notification: Performance of simCode: created simulation system equations: time 0.0005979/0.9601, allocations: 0.502 MB / 1.078 GB, free: 10.12 MB / 0.7214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006026/0.9607, allocations: 108.3 kB / 1.078 GB, free: 10.02 MB / 0.7214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.9618, allocations: 0.6621 MB / 1.079 GB, free: 9.305 MB / 0.7214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005228/0.9623, allocations: 0.9049 MB / 1.079 GB, free: 8.371 MB / 0.7214 GB Notification: Performance of SimCode: time 2.4e-07/0.9623, allocations: 4 kB / 1.079 GB, free: 8.367 MB / 0.7214 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)