Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.306/1.306, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.0009008/0.0009008, allocations: 181.2 kB / 361.1 MB, free: 7.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.997/0.997, allocations: 205.1 MB / 0.6195 GB, free: 11.91 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.0007639/0.0007636, allocations: 93.12 kB / 0.7326 GB, free: 44.44 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1758/0.1766, allocations: 121.4 MB / 0.8512 GB, free: 3.098 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.592, allocations: 115.3 MB / 0.9638 GB, free: 77.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.7359, allocations: 152.9 MB / 1.113 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.7361, allocations: 93.53 kB / 1.113 GB, free: 2.938 MB / 0.7136 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.06024/0.7964, allocations: 27.78 MB / 1.14 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.7964, allocations: 8 kB / 1.14 GB, free: 7 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.7978, allocations: 183.1 kB / 1.141 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/0.7984, allocations: 394.5 kB / 1.141 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.7984, allocations: 12 kB / 1.141 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-05/0.7985, allocations: 23.91 kB / 1.141 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005338/0.799, allocations: 365.6 kB / 1.141 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007122/0.7997, allocations: 0.6439 MB / 1.142 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.7998, allocations: 11.92 kB / 1.142 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.153e-05/0.7998, allocations: 4 kB / 1.142 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.102e-05/0.7999, allocations: 47.91 kB / 1.142 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/0.8027, allocations: 3.713 MB / 1.146 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006146/0.8033, allocations: 429.5 kB / 1.146 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.8035, allocations: 174.5 kB / 1.146 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.8036, allocations: 8 kB / 1.146 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.8036, allocations: 40.88 kB / 1.146 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.8036, allocations: 0 / 1.146 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.00137/0.805, allocations: 0.8186 MB / 1.147 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.805, allocations: 106.8 kB / 1.147 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.8053, allocations: 296.8 kB / 1.147 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.8053, allocations: 29.7 kB / 1.147 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.8055, allocations: 239.3 kB / 1.148 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.155e-05/0.8055, allocations: 114.4 kB / 1.148 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.67e-05/0.8056, allocations: 0 / 1.148 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.8057, allocations: 350.8 kB / 1.148 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.8059, allocations: 164.9 kB / 1.148 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.8062, allocations: 339.8 kB / 1.149 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.8065, allocations: 223.7 kB / 1.149 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8065, allocations: 0 / 1.149 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008606/0.8073, allocations: 0.5987 MB / 1.149 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.8074, allocations: 4 kB / 1.149 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.8074, allocations: 4 kB / 1.149 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002939/0.8077, allocations: 98.88 kB / 1.149 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.808, allocations: 101.4 kB / 1.15 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/0.8106, allocations: 3.868 MB / 1.153 GB, free: 8.719 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.8109, allocations: 8 kB / 1.153 GB, free: 8.711 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.811, allocations: 27.98 kB / 1.153 GB, free: 8.684 MB / 0.7605 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.0001158/0.8111, allocations: 126.5 kB / 1.154 GB, free: 8.555 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.8112, allocations: 51.53 kB / 1.154 GB, free: 8.504 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007922/0.812, allocations: 498.5 kB / 1.154 GB, free: 8 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.812, allocations: 4 kB / 1.154 GB, free: 7.996 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.812, allocations: 0 / 1.154 GB, free: 7.996 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.812, allocations: 7.984 kB / 1.154 GB, free: 7.988 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.8135, allocations: 1.2 MB / 1.155 GB, free: 6.707 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.8136, allocations: 8.031 kB / 1.155 GB, free: 6.699 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.8138, allocations: 55.91 kB / 1.155 GB, free: 6.645 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002519/0.8141, allocations: 94.44 kB / 1.155 GB, free: 6.543 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.8141, allocations: 4 kB / 1.155 GB, free: 6.539 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002504/0.8166, allocations: 3.841 MB / 1.159 GB, free: 2.359 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.8166, allocations: 8.062 kB / 1.159 GB, free: 2.352 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008237/0.8174, allocations: 0.8823 MB / 1.16 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009223/0.8184, allocations: 1.278 MB / 1.161 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.8185, allocations: 152.5 kB / 1.161 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.069e-05/0.8186, allocations: 6.375 kB / 1.161 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.8189, allocations: 11.98 kB / 1.161 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.819, allocations: 31.88 kB / 1.161 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.819, allocations: 12 kB / 1.161 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0002026/0.8192, allocations: 227.2 kB / 1.162 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001131/0.8203, allocations: 108 kB / 1.162 GB, free: 15.39 MB / 0.7761 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.0001525/0.8205, allocations: 120 kB / 1.162 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.8215, allocations: 0.741 MB / 1.163 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.8216, allocations: 256 / 1.163 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005853/0.8222, allocations: 0.5089 MB / 1.163 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006185/0.8228, allocations: 110.7 kB / 1.163 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.824, allocations: 0.6595 MB / 1.164 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004775/0.8245, allocations: 0.9049 MB / 1.165 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of SimCode: time 3.11e-07/0.8245, allocations: 4 kB / 1.165 GB, free: 12.21 MB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)