Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",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.473/1.473, allocations: 289.8 MB / 297.1 MB, free: 9.066 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.001263/0.001264, allocations: 192.3 kB / 366.3 MB, free: 11.34 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.07/1.07, allocations: 205.1 MB / 0.6256 GB, free: 11.41 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008233/0.0008233, allocations: 98.58 kB / 0.7396 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.3619/0.3628, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.5184, allocations: 116.3 MB / 0.9727 GB, free: 31.65 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4668/0.9853, allocations: 160.1 MB / 1.129 GB, free: 16.12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.9855, allocations: 92.39 kB / 1.129 GB, free: 16.11 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.03017/1.016, allocations: 14.17 MB / 1.143 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/1.016, allocations: 9.438 kB / 1.143 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006299/1.016, allocations: 81.2 kB / 1.143 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/1.017, allocations: 233 kB / 1.143 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/1.017, allocations: 5.094 kB / 1.143 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/1.017, allocations: 13.34 kB / 1.143 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003119/1.017, allocations: 188 kB / 1.143 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/1.017, allocations: 295.4 kB / 1.144 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/1.017, allocations: 4.875 kB / 1.144 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/1.017, allocations: 12.72 kB / 1.144 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-05/1.017, allocations: 22.64 kB / 1.144 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/1.019, allocations: 1.572 MB / 1.145 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/1.019, allocations: 180.6 kB / 1.146 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/1.019, allocations: 85.08 kB / 1.146 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/1.019, allocations: 87.64 kB / 1.146 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/1.019, allocations: 39.42 kB / 1.146 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/1.019, allocations: 0 / 1.146 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0006115/1.02, allocations: 281.1 kB / 1.146 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/1.02, allocations: 78.2 kB / 1.146 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/1.02, allocations: 142.8 kB / 1.146 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/1.02, allocations: 30.89 kB / 1.146 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/1.02, allocations: 150.5 kB / 1.146 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/1.02, allocations: 44.17 kB / 1.146 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/1.02, allocations: 0 / 1.146 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.797e-05/1.02, allocations: 325.6 kB / 1.147 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/1.02, allocations: 78.69 kB / 1.147 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/1.02, allocations: 162.8 kB / 1.147 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/1.021, allocations: 128.2 kB / 1.147 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/1.021, allocations: 0 / 1.147 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003965/1.021, allocations: 286.1 kB / 1.147 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/1.021, allocations: 0.9631 MB / 1.148 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.021, allocations: 4 kB / 1.148 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/1.021, allocations: 4 kB / 1.148 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/1.021, allocations: 43.97 kB / 1.148 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/1.021, allocations: 11.92 kB / 1.148 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/1.022, allocations: 15.84 kB / 1.148 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/1.022, allocations: 15.48 kB / 1.148 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.653e-06/1.022, allocations: 7.938 kB / 1.148 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003311/1.022, allocations: 220.8 kB / 1.149 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/1.022, allocations: 3.984 kB / 1.149 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-06/1.022, allocations: 4 kB / 1.149 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/1.022, allocations: 43.92 kB / 1.149 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/1.022, allocations: 7.984 kB / 1.149 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/1.022, allocations: 8 kB / 1.149 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/1.022, allocations: 15.91 kB / 1.149 GB, free: 5.531 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (25): * Single equations (assignments): 25 * 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 5.792e-05/1.022, allocations: 108.9 kB / 1.149 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/1.022, allocations: 19.8 kB / 1.149 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003509/1.023, allocations: 228.5 kB / 1.149 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.023, allocations: 4 kB / 1.149 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.023, allocations: 0 / 1.149 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.023, allocations: 3.984 kB / 1.149 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009625/1.024, allocations: 1.048 MB / 1.15 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.024, allocations: 4 kB / 1.15 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/1.024, allocations: 32.36 kB / 1.15 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/1.024, allocations: 11.91 kB / 1.15 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/1.024, allocations: 4 kB / 1.15 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/1.024, allocations: 11.92 kB / 1.15 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.024, allocations: 4 kB / 1.15 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003496/1.024, allocations: 0.5201 MB / 1.151 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003679/1.025, allocations: 0.9051 MB / 1.151 GB, free: 2.504 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/1.025, allocations: 108 kB / 1.152 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/1.025, allocations: 4 kB / 1.152 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/1.025, allocations: 11.98 kB / 1.152 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/1.025, allocations: 27.27 kB / 1.152 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/1.025, allocations: 6.812 kB / 1.152 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.911e-05/1.025, allocations: 125.1 kB / 1.152 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001648/1.027, allocations: 82.12 kB / 1.152 GB, free: 2.156 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.0001238/1.027, allocations: 122.4 kB / 1.152 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003472/1.027, allocations: 316.9 kB / 1.152 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.027, allocations: 0 / 1.152 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.783e-05/1.027, allocations: 85.33 kB / 1.152 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/1.028, allocations: 28.89 kB / 1.152 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/1.028, allocations: 380.9 kB / 1.153 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/1.029, allocations: 0.7787 MB / 1.153 GB, free: 16.52 MB / 0.698 GB Notification: Performance of SimCode: time 3.1e-07/1.029, allocations: 0 / 1.153 GB, free: 16.52 MB / 0.698 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)