Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.228/1.228, allocations: 249.4 MB / 256.7 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009633/0.000963, allocations: 185.2 kB / 316 MB, free: 3.516 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.177/1.177, allocations: 205.1 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008865/0.0008866, allocations: 98.03 kB / 0.671 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3548/0.3557, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.5317, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5529/1.085, allocations: 163.3 MB / 1.044 GB, free: 9.113 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/1.085, allocations: 94.19 kB / 1.044 GB, free: 9.062 MB / 0.6667 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.05413/1.139, allocations: 23.55 MB / 1.067 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/1.139, allocations: 12 kB / 1.067 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/1.14, allocations: 147.2 kB / 1.067 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/1.141, allocations: 326.8 kB / 1.068 GB, free: 4.902 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/1.141, allocations: 12 kB / 1.068 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.196e-05/1.141, allocations: 20 kB / 1.068 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006626/1.141, allocations: 405 kB / 1.068 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006981/1.142, allocations: 0.557 MB / 1.069 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/1.142, allocations: 3.938 kB / 1.069 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/1.142, allocations: 4 kB / 1.069 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/1.142, allocations: 43.73 kB / 1.069 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003065/1.145, allocations: 3.448 MB / 1.072 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/1.146, allocations: 312.7 kB / 1.072 GB, free: 420 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/1.146, allocations: 167.6 kB / 1.072 GB, free: 300 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/1.146, allocations: 3.984 kB / 1.072 GB, free: 296 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/1.146, allocations: 45.86 kB / 1.073 GB, free: 244 kB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 2.074e-06/1.146, allocations: 0 / 1.073 GB, free: 244 kB / 0.6823 GB Notification: Performance of matching and sorting (n=26): time 0.001721/1.148, allocations: 0.6378 MB / 1.073 GB, free: 15.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/1.148, allocations: 81.05 kB / 1.073 GB, free: 15.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/1.148, allocations: 269.5 kB / 1.073 GB, free: 15.37 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/1.148, allocations: 25.7 kB / 1.074 GB, free: 15.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/1.148, allocations: 243 kB / 1.074 GB, free: 15.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.885e-05/1.148, allocations: 88.31 kB / 1.074 GB, free: 15.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.03e-05/1.148, allocations: 4 kB / 1.074 GB, free: 15.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001015/1.148, allocations: 337.1 kB / 1.074 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/1.149, allocations: 167.6 kB / 1.074 GB, free: 14.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/1.149, allocations: 332.2 kB / 1.075 GB, free: 14.28 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/1.149, allocations: 251.5 kB / 1.075 GB, free: 14.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/1.149, allocations: 4 kB / 1.075 GB, free: 14.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00166/1.151, allocations: 0.7121 MB / 1.076 GB, free: 13.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006443/1.152, allocations: 2.08 MB / 1.078 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.152, allocations: 12 kB / 1.078 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/1.153, allocations: 193.7 kB / 1.078 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/1.153, allocations: 91.08 kB / 1.078 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/1.155, allocations: 1.285 MB / 1.079 GB, free: 9.754 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/1.155, allocations: 28 kB / 1.079 GB, free: 9.727 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/1.155, allocations: 23.61 kB / 1.079 GB, free: 9.707 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/1.155, allocations: 4 kB / 1.079 GB, free: 9.703 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007164/1.156, allocations: 458.2 kB / 1.08 GB, free: 9.359 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.156, allocations: 4 kB / 1.08 GB, free: 9.355 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/1.156, allocations: 8 kB / 1.08 GB, free: 9.348 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000394/1.156, allocations: 107.2 kB / 1.08 GB, free: 9.246 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.156, allocations: 8 kB / 1.08 GB, free: 9.238 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/1.156, allocations: 19.83 kB / 1.08 GB, free: 9.219 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/1.156, allocations: 23.84 kB / 1.08 GB, free: 9.199 MB / 0.698 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.000131/1.157, allocations: 128.5 kB / 1.08 GB, free: 9.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.698e-05/1.157, allocations: 31.62 kB / 1.08 GB, free: 9.039 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/1.158, allocations: 0.6261 MB / 1.081 GB, free: 8.516 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.158, allocations: 12 kB / 1.081 GB, free: 8.504 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.158, allocations: 4 kB / 1.081 GB, free: 8.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/1.158, allocations: 0 / 1.081 GB, free: 8.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008245/1.159, allocations: 0.5929 MB / 1.081 GB, free: 7.957 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/1.159, allocations: 4 kB / 1.081 GB, free: 7.953 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/1.159, allocations: 38.28 kB / 1.081 GB, free: 7.918 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00153/1.161, allocations: 368.4 kB / 1.082 GB, free: 7.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/1.161, allocations: 11.8 kB / 1.082 GB, free: 7.562 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003448/1.165, allocations: 3.21 MB / 1.085 GB, free: 4.348 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/1.165, allocations: 7.938 kB / 1.085 GB, free: 4.34 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001715/1.166, allocations: 0.8289 MB / 1.086 GB, free: 3.574 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001743/1.168, allocations: 1.214 MB / 1.087 GB, free: 2.426 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/1.168, allocations: 146.7 kB / 1.087 GB, free: 2.273 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.483e-05/1.168, allocations: 4 kB / 1.087 GB, free: 2.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/1.169, allocations: 19.97 kB / 1.087 GB, free: 2.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/1.169, allocations: 19.92 kB / 1.087 GB, free: 2.234 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/1.169, allocations: 7.984 kB / 1.087 GB, free: 2.227 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0001977/1.169, allocations: 203.1 kB / 1.087 GB, free: 2.066 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001875/1.171, allocations: 178.9 kB / 1.087 GB, free: 1.898 MB / 0.698 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.0002224/1.171, allocations: 115.1 kB / 1.087 GB, free: 1.773 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001273/1.172, allocations: 0.6961 MB / 1.088 GB, free: 1.262 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.172, allocations: 0 / 1.088 GB, free: 1.262 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006596/1.173, allocations: 440.7 kB / 1.088 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/1.173, allocations: 53.36 kB / 1.089 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/1.174, allocations: 0.5569 MB / 1.089 GB, free: 316 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/1.175, allocations: 0.8752 MB / 1.09 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/1.175, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)