Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.192/2.192, allocations: 284.8 MB / 292.1 MB, free: 9.844 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.001597/0.001596, allocations: 183.5 kB / 360.3 MB, free: 1.02 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 205.2 MB / 0.6187 GB, free: 3.359 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 82.88 kB / 0.7317 GB, free: 1.863 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4951/0.4964, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.6948, allocations: 115.3 MB / 0.9628 GB, free: 57 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.629/1.324, allocations: 159 MB / 1.118 GB, free: 32.82 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/1.324, allocations: 90 kB / 1.118 GB, free: 32.82 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.04981/1.374, allocations: 14.17 MB / 1.132 GB, free: 31.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/1.374, allocations: 11.38 kB / 1.132 GB, free: 31.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/1.375, allocations: 79.45 kB / 1.132 GB, free: 31.24 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/1.376, allocations: 225.2 kB / 1.132 GB, free: 31.03 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/1.376, allocations: 7.844 kB / 1.132 GB, free: 31.03 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/1.376, allocations: 7.875 kB / 1.132 GB, free: 31.03 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004911/1.376, allocations: 193.2 kB / 1.132 GB, free: 31.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000544/1.377, allocations: 299.8 kB / 1.133 GB, free: 30.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/1.377, allocations: 3.938 kB / 1.133 GB, free: 30.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/1.377, allocations: 3.906 kB / 1.133 GB, free: 30.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.544e-05/1.377, allocations: 22.52 kB / 1.133 GB, free: 30.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/1.379, allocations: 1.571 MB / 1.134 GB, free: 29.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/1.379, allocations: 187.8 kB / 1.134 GB, free: 29.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/1.379, allocations: 85.05 kB / 1.135 GB, free: 29.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/1.38, allocations: 87.95 kB / 1.135 GB, free: 29.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/1.38, allocations: 38 kB / 1.135 GB, free: 29.42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 2.545e-06/1.38, allocations: 0 / 1.135 GB, free: 29.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0009466/1.381, allocations: 280.6 kB / 1.135 GB, free: 29.33 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/1.381, allocations: 77.11 kB / 1.135 GB, free: 29.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/1.381, allocations: 146.2 kB / 1.135 GB, free: 29.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/1.381, allocations: 25.7 kB / 1.135 GB, free: 29.11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/1.381, allocations: 147.3 kB / 1.135 GB, free: 28.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/1.381, allocations: 50.45 kB / 1.135 GB, free: 28.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-05/1.381, allocations: 0 / 1.135 GB, free: 28.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.567e-05/1.381, allocations: 326.6 kB / 1.136 GB, free: 28.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/1.381, allocations: 80.03 kB / 1.136 GB, free: 28.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/1.381, allocations: 150.4 kB / 1.136 GB, free: 28.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/1.382, allocations: 124.1 kB / 1.136 GB, free: 28.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.382, allocations: 4 kB / 1.136 GB, free: 28.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007334/1.383, allocations: 297.3 kB / 1.136 GB, free: 28.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000333/1.383, allocations: 0.9608 MB / 1.137 GB, free: 43.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/1.383, allocations: 3.906 kB / 1.137 GB, free: 43.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/1.383, allocations: 7.781 kB / 1.137 GB, free: 43.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004468/1.383, allocations: 51.72 kB / 1.137 GB, free: 43.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.384, allocations: 3.875 kB / 1.137 GB, free: 43.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/1.384, allocations: 13.36 kB / 1.137 GB, free: 43.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/1.384, allocations: 13.05 kB / 1.137 GB, free: 43.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.086e-06/1.384, allocations: 3.844 kB / 1.137 GB, free: 43.45 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000599/1.384, allocations: 217.6 kB / 1.138 GB, free: 43.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/1.384, allocations: 7.875 kB / 1.138 GB, free: 43.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.132e-06/1.385, allocations: 3.75 kB / 1.138 GB, free: 43.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/1.385, allocations: 47.5 kB / 1.138 GB, free: 43.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/1.385, allocations: 3.938 kB / 1.138 GB, free: 43.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/1.385, allocations: 5.812 kB / 1.138 GB, free: 43.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/1.385, allocations: 20.98 kB / 1.138 GB, free: 43.43 MB / 0.7292 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 0.000104/1.385, allocations: 107.9 kB / 1.138 GB, free: 43.32 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.953e-05/1.385, allocations: 19.59 kB / 1.138 GB, free: 43.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006471/1.386, allocations: 228.7 kB / 1.138 GB, free: 43.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.386, allocations: 0 / 1.138 GB, free: 43.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.386, allocations: 9.641 kB / 1.138 GB, free: 43.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.386, allocations: 4 kB / 1.138 GB, free: 43.24 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/1.388, allocations: 1.041 MB / 1.139 GB, free: 42.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.388, allocations: 3.906 kB / 1.139 GB, free: 42.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/1.388, allocations: 31.12 kB / 1.139 GB, free: 42.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.719e-06/1.388, allocations: 13.8 kB / 1.139 GB, free: 42.58 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/1.388, allocations: 4.406 kB / 1.139 GB, free: 42.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/1.388, allocations: 7.938 kB / 1.139 GB, free: 42.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.388, allocations: 3.844 kB / 1.139 GB, free: 42.57 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006072/1.389, allocations: 0.5367 MB / 1.14 GB, free: 42.1 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00074/1.39, allocations: 0.8979 MB / 1.14 GB, free: 41.26 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/1.39, allocations: 111.7 kB / 1.141 GB, free: 41.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/1.39, allocations: 3.875 kB / 1.141 GB, free: 41.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/1.39, allocations: 11.44 kB / 1.141 GB, free: 41.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/1.39, allocations: 13.36 kB / 1.141 GB, free: 41.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/1.39, allocations: 11.72 kB / 1.141 GB, free: 41.15 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001374/1.39, allocations: 128.4 kB / 1.141 GB, free: 41.08 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002309/1.393, allocations: 86.33 kB / 1.141 GB, free: 41.07 MB / 0.7292 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.0001822/1.393, allocations: 118.1 kB / 1.141 GB, free: 40.97 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006492/1.394, allocations: 312.2 kB / 1.141 GB, free: 40.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.394, allocations: 7.969 kB / 1.141 GB, free: 40.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001792/1.394, allocations: 88.5 kB / 1.141 GB, free: 40.94 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/1.394, allocations: 29.64 kB / 1.141 GB, free: 40.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009588/1.395, allocations: 379.2 kB / 1.142 GB, free: 40.73 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005168/1.396, allocations: 0.7759 MB / 1.142 GB, free: 40.02 MB / 0.7292 GB Notification: Performance of SimCode: time 9.72e-07/1.396, allocations: 0 / 1.142 GB, free: 40.02 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)