Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_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.136/2.136, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001558/0.001558, allocations: 177.3 kB / 360.3 MB, free: 7.523 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.657/1.657, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001223/0.001223, allocations: 96.59 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2469/0.2482, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5571/0.8053, allocations: 115.2 MB / 0.9628 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2428/1.048, allocations: 163.8 MB / 1.123 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000349/1.049, allocations: 94.34 kB / 1.123 GB, free: 8.867 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.06686/1.115, allocations: 16.55 MB / 1.139 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/1.116, allocations: 8 kB / 1.139 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/1.117, allocations: 96.25 kB / 1.139 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006031/1.118, allocations: 260.2 kB / 1.139 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/1.118, allocations: 8 kB / 1.139 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.462e-05/1.118, allocations: 12 kB / 1.139 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000695/1.118, allocations: 240.8 kB / 1.14 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008422/1.119, allocations: 335.8 kB / 1.14 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/1.119, allocations: 0 / 1.14 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.395e-05/1.119, allocations: 2.562 kB / 1.14 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.416e-05/1.119, allocations: 24.42 kB / 1.14 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002725/1.122, allocations: 1.478 MB / 1.141 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00047/1.123, allocations: 194.5 kB / 1.142 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/1.123, allocations: 113.1 kB / 1.142 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002016/1.123, allocations: 96.94 kB / 1.142 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/1.123, allocations: 35.59 kB / 1.142 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 3.156e-06/1.123, allocations: 0 / 1.142 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.002208/1.125, allocations: 0.7285 MB / 1.143 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/1.125, allocations: 55.39 kB / 1.143 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/1.126, allocations: 157.4 kB / 1.143 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/1.126, allocations: 25.7 kB / 1.143 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/1.126, allocations: 160.1 kB / 1.143 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.053e-05/1.126, allocations: 67 kB / 1.143 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/1.126, allocations: 0 / 1.143 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.126, allocations: 330.8 kB / 1.143 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/1.126, allocations: 108 kB / 1.143 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/1.127, allocations: 167.2 kB / 1.144 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005787/1.127, allocations: 151.8 kB / 1.144 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.127, allocations: 0 / 1.144 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001431/1.129, allocations: 412.3 kB / 1.144 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/1.129, allocations: 12 kB / 1.144 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/1.129, allocations: 0 / 1.144 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006141/1.13, allocations: 92.78 kB / 1.144 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004581/1.13, allocations: 55.84 kB / 1.144 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/1.133, allocations: 1.654 MB / 1.146 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/1.133, allocations: 7.984 kB / 1.146 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/1.133, allocations: 8 kB / 1.146 GB, free: 0.7148 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001407/1.134, allocations: 108.8 kB / 1.146 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/1.134, allocations: 19.81 kB / 1.146 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009963/1.135, allocations: 306.6 kB / 1.146 GB, free: 292 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/1.135, allocations: 3.906 kB / 1.146 GB, free: 288 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/1.135, allocations: 5.938 kB / 1.146 GB, free: 284 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.135, allocations: 3.984 kB / 1.146 GB, free: 280 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/1.136, allocations: 0.666 MB / 1.147 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/1.136, allocations: 4 kB / 1.147 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/1.137, allocations: 51.91 kB / 1.147 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/1.137, allocations: 0 / 1.147 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/1.137, allocations: 13.31 kB / 1.147 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/1.137, allocations: 4.062 kB / 1.147 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.137, allocations: 0 / 1.147 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001224/1.138, allocations: 0.5435 MB / 1.148 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001739/1.14, allocations: 1.083 MB / 1.149 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/1.14, allocations: 116.9 kB / 1.149 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.079e-05/1.14, allocations: 8.062 kB / 1.149 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/1.141, allocations: 7.984 kB / 1.149 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/1.141, allocations: 9.297 kB / 1.149 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/1.141, allocations: 8 kB / 1.149 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0001713/1.141, allocations: 128.7 kB / 1.149 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001369/1.142, allocations: 83.92 kB / 1.149 GB, free: 13.42 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002194/1.143, allocations: 107.2 kB / 1.149 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001154/1.144, allocations: 412.5 kB / 1.149 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.144, allocations: 0 / 1.149 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002839/1.144, allocations: 123.7 kB / 1.15 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/1.144, allocations: 30.53 kB / 1.15 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/1.146, allocations: 488.7 kB / 1.15 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006512/1.147, allocations: 0.8089 MB / 1.151 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of SimCode: time 1.082e-06/1.147, allocations: 0 / 1.151 GB, free: 11.42 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)