Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.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.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.345/1.345, allocations: 285.5 MB / 292.8 MB, free: 9.871 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.000941/0.000941, allocations: 182.5 kB / 361.1 MB, free: 384 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.038/1.038, allocations: 205.2 MB / 0.6195 GB, free: 2.906 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.000765/0.000765, allocations: 82.92 kB / 0.7326 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3701/0.3709, allocations: 121.5 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.5238, allocations: 115.3 MB / 0.9638 GB, free: 56.26 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4669/0.9907, allocations: 168.5 MB / 1.128 GB, free: 27.77 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.991, allocations: 93.75 kB / 1.128 GB, free: 27.77 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.04868/1.04, allocations: 23.54 MB / 1.151 GB, free: 25.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/1.04, allocations: 11.56 kB / 1.151 GB, free: 25.38 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/1.041, allocations: 141.2 kB / 1.152 GB, free: 25.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/1.041, allocations: 322.9 kB / 1.152 GB, free: 25.12 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/1.041, allocations: 11.59 kB / 1.152 GB, free: 25.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.653e-05/1.041, allocations: 27.73 kB / 1.152 GB, free: 25.12 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005547/1.042, allocations: 399.2 kB / 1.152 GB, free: 25.11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006028/1.043, allocations: 0.5592 MB / 1.153 GB, free: 24.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/1.043, allocations: 7.938 kB / 1.153 GB, free: 24.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/1.043, allocations: 3.906 kB / 1.153 GB, free: 24.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-05/1.043, allocations: 33.89 kB / 1.153 GB, free: 24.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002796/1.045, allocations: 3.447 MB / 1.156 GB, free: 38.33 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/1.046, allocations: 311.9 kB / 1.157 GB, free: 38.28 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/1.046, allocations: 179.9 kB / 1.157 GB, free: 38.26 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/1.046, allocations: 3.672 kB / 1.157 GB, free: 38.26 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/1.046, allocations: 37.56 kB / 1.157 GB, free: 38.22 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 1.913e-06/1.046, allocations: 0 / 1.157 GB, free: 38.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26): time 0.001586/1.048, allocations: 0.6315 MB / 1.157 GB, free: 38.06 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/1.048, allocations: 80.98 kB / 1.157 GB, free: 37.97 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/1.048, allocations: 270.2 kB / 1.158 GB, free: 37.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/1.048, allocations: 25.7 kB / 1.158 GB, free: 37.82 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.456e-05/1.048, allocations: 248.9 kB / 1.158 GB, free: 37.64 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.048e-05/1.048, allocations: 81.98 kB / 1.158 GB, free: 37.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/1.048, allocations: 0 / 1.158 GB, free: 37.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.048, allocations: 344.6 kB / 1.158 GB, free: 37.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/1.048, allocations: 170.2 kB / 1.159 GB, free: 37.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/1.049, allocations: 327.3 kB / 1.159 GB, free: 37.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/1.049, allocations: 252.8 kB / 1.159 GB, free: 37.06 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.049, allocations: 0 / 1.159 GB, free: 37.06 MB / 0.7292 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001571/1.051, allocations: 0.7127 MB / 1.16 GB, free: 36.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005314/1.051, allocations: 2.09 MB / 1.162 GB, free: 34.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.051, allocations: 7.75 kB / 1.162 GB, free: 34.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/1.052, allocations: 196.2 kB / 1.162 GB, free: 34.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/1.053, allocations: 91.5 kB / 1.162 GB, free: 34.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/1.054, allocations: 1.288 MB / 1.163 GB, free: 33.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/1.054, allocations: 24.42 kB / 1.163 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/1.054, allocations: 20.98 kB / 1.163 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/1.054, allocations: 7.75 kB / 1.163 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006485/1.055, allocations: 453.8 kB / 1.164 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.055, allocations: 3.844 kB / 1.164 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/1.055, allocations: 12.52 kB / 1.164 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/1.055, allocations: 107.4 kB / 1.164 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/1.055, allocations: 13.02 kB / 1.164 GB, free: 33.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/1.056, allocations: 22.91 kB / 1.164 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/1.056, allocations: 24.06 kB / 1.164 GB, free: 33.61 MB / 0.7292 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.000107/1.056, allocations: 113.5 kB / 1.164 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.518e-05/1.056, allocations: 31.16 kB / 1.164 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/1.057, allocations: 0.643 MB / 1.165 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/1.057, allocations: 0 / 1.165 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.057, allocations: 4.5 kB / 1.165 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.057, allocations: 5.125 kB / 1.165 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007116/1.058, allocations: 0.5902 MB / 1.165 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.058, allocations: 4.391 kB / 1.165 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/1.058, allocations: 46.12 kB / 1.165 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001505/1.06, allocations: 362.1 kB / 1.166 GB, free: 33.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/1.06, allocations: 12.39 kB / 1.166 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003137/1.063, allocations: 3.219 MB / 1.169 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.063, allocations: 3.906 kB / 1.169 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00149/1.065, allocations: 0.8226 MB / 1.17 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001571/1.066, allocations: 1.205 MB / 1.171 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/1.066, allocations: 146.3 kB / 1.171 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/1.066, allocations: 4 kB / 1.171 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003305/1.067, allocations: 27.38 kB / 1.171 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/1.067, allocations: 23.31 kB / 1.171 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/1.067, allocations: 7.875 kB / 1.171 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001506/1.067, allocations: 196.7 kB / 1.171 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001928/1.069, allocations: 177 kB / 1.171 GB, free: 29.05 MB / 0.7292 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.0001903/1.069, allocations: 126.1 kB / 1.172 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00115/1.07, allocations: 0.6939 MB / 1.172 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/1.07, allocations: 4.125 kB / 1.172 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005938/1.071, allocations: 432.7 kB / 1.173 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/1.071, allocations: 62.11 kB / 1.173 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/1.072, allocations: 0.5435 MB / 1.173 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004379/1.073, allocations: 0.882 MB / 1.174 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/1.073, allocations: 4 kB / 1.174 GB, free: 27.53 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)