Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.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.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",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.412/1.412, allocations: 289.8 MB / 297.1 MB, free: 6.727 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.001011/0.001011, allocations: 181.3 kB / 366.3 MB, free: 2 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.052/1.052, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.000795/0.0007949, allocations: 88.89 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1975/0.1983, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.647, allocations: 116.3 MB / 0.9727 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1648/0.8118, allocations: 169.5 MB / 1.138 GB, free: 11 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.8121, allocations: 95.94 kB / 1.138 GB, free: 10.9 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.05318/0.8653, allocations: 23.55 MB / 1.161 GB, free: 3.105 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.8653, allocations: 8 kB / 1.161 GB, free: 3.098 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.8664, allocations: 143.4 kB / 1.161 GB, free: 2.957 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.8668, allocations: 327.2 kB / 1.162 GB, free: 2.594 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.8668, allocations: 12 kB / 1.162 GB, free: 2.582 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/0.8669, allocations: 20 kB / 1.162 GB, free: 2.562 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005857/0.8675, allocations: 401.5 kB / 1.162 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000708/0.8682, allocations: 0.561 MB / 1.163 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.8682, allocations: 3.938 kB / 1.163 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/0.8683, allocations: 4 kB / 1.163 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.81e-05/0.8683, allocations: 36.64 kB / 1.163 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/0.8715, allocations: 3.452 MB / 1.166 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/0.8719, allocations: 316.2 kB / 1.166 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.8721, allocations: 173.7 kB / 1.167 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.8721, allocations: 0 / 1.167 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.8722, allocations: 42.5 kB / 1.167 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=25): time 1.212e-06/0.8722, allocations: 0 / 1.167 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26): time 0.001727/0.8739, allocations: 0.6232 MB / 1.167 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.874, allocations: 88.98 kB / 1.167 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.8742, allocations: 271.1 kB / 1.168 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.8742, allocations: 25.7 kB / 1.168 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.8744, allocations: 239.3 kB / 1.168 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.274e-05/0.8744, allocations: 98.64 kB / 1.168 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.8744, allocations: 0 / 1.168 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.8746, allocations: 342.8 kB / 1.168 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.8748, allocations: 168.9 kB / 1.168 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.8751, allocations: 328.5 kB / 1.169 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00044/0.8755, allocations: 247.7 kB / 1.169 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8756, allocations: 0 / 1.169 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001693/0.8773, allocations: 0.7143 MB / 1.17 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006263/0.8779, allocations: 2.082 MB / 1.172 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.8779, allocations: 8 kB / 1.172 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.8791, allocations: 205.4 kB / 1.172 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/0.8795, allocations: 91.83 kB / 1.172 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.8806, allocations: 1.284 MB / 1.173 GB, free: 6.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.881, allocations: 24 kB / 1.173 GB, free: 6.047 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.881, allocations: 24 kB / 1.173 GB, free: 6.023 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.132e-06/0.881, allocations: 4 kB / 1.173 GB, free: 6.02 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007196/0.8818, allocations: 451.6 kB / 1.174 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.8818, allocations: 8 kB / 1.174 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.8818, allocations: 8 kB / 1.174 GB, free: 5.562 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000405/0.8822, allocations: 107.8 kB / 1.174 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.8822, allocations: 11.98 kB / 1.174 GB, free: 5.445 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.8825, allocations: 15.84 kB / 1.174 GB, free: 5.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.8825, allocations: 24.42 kB / 1.174 GB, free: 5.406 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.8826, allocations: 124.8 kB / 1.174 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.046e-05/0.8827, allocations: 27.62 kB / 1.174 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.8844, allocations: 0.6336 MB / 1.175 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.8844, allocations: 8 kB / 1.175 GB, free: 4.594 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.8844, allocations: 7.906 kB / 1.175 GB, free: 4.586 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.8845, allocations: 4 kB / 1.175 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007838/0.8853, allocations: 0.5901 MB / 1.175 GB, free: 3.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.8853, allocations: 0 / 1.175 GB, free: 3.941 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.8855, allocations: 39.98 kB / 1.175 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00159/0.8871, allocations: 373.5 kB / 1.176 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.8871, allocations: 4 kB / 1.176 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003299/0.8904, allocations: 3.215 MB / 1.179 GB, free: 84 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8904, allocations: 0 / 1.179 GB, free: 84 kB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001666/0.8921, allocations: 0.8345 MB / 1.18 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001747/0.8939, allocations: 1.207 MB / 1.181 GB, free: 13.95 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.894, allocations: 148.6 kB / 1.181 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.651e-05/0.8941, allocations: 8 kB / 1.181 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/0.8945, allocations: 23.88 kB / 1.181 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.8945, allocations: 19.97 kB / 1.181 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.8945, allocations: 8 kB / 1.181 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0001747/0.8947, allocations: 195.1 kB / 1.181 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001957/0.8967, allocations: 180.1 kB / 1.181 GB, free: 13.36 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001495/0.8968, allocations: 111.1 kB / 1.181 GB, free: 13.24 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001203/0.8981, allocations: 0.6976 MB / 1.182 GB, free: 12.54 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8981, allocations: 0 / 1.182 GB, free: 12.54 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0006485/0.8987, allocations: 440 kB / 1.183 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.8991, allocations: 60.52 kB / 1.183 GB, free: 12.03 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.9001, allocations: 0.5365 MB / 1.183 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004494/0.9006, allocations: 0.8846 MB / 1.184 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of SimCode: time 2.7e-07/0.9006, allocations: 0 / 1.184 GB, free: 10.55 MB / 0.7917 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)