Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.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.Probe,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.194/2.194, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.00156/0.001559, allocations: 181.2 kB / 360.3 MB, free: 7.559 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.655/1.655, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001207/0.001207, allocations: 96.61 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2482/0.2495, allocations: 121.4 MB / 0.8502 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5626/0.8121, allocations: 115.2 MB / 0.9628 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2521/1.064, allocations: 168.3 MB / 1.127 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003796/1.065, allocations: 97.88 kB / 1.127 GB, free: 4.34 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.09824/1.163, allocations: 23.55 MB / 1.15 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/1.163, allocations: 8.5 kB / 1.15 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/1.165, allocations: 143.4 kB / 1.15 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008202/1.166, allocations: 335.1 kB / 1.151 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/1.166, allocations: 12 kB / 1.151 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-05/1.166, allocations: 20 kB / 1.151 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001282/1.167, allocations: 405.5 kB / 1.151 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/1.169, allocations: 0.561 MB / 1.152 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/1.169, allocations: 6.438 kB / 1.152 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.912e-05/1.169, allocations: 4 kB / 1.152 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.499e-05/1.169, allocations: 28.64 kB / 1.152 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006181/1.175, allocations: 3.446 MB / 1.155 GB, free: 7.32 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000754/1.176, allocations: 320.1 kB / 1.155 GB, free: 6.992 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004129/1.176, allocations: 169.7 kB / 1.156 GB, free: 6.82 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.507e-05/1.176, allocations: 3.984 kB / 1.156 GB, free: 6.816 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/1.176, allocations: 38.56 kB / 1.156 GB, free: 6.77 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 3.066e-06/1.176, allocations: 0 / 1.156 GB, free: 6.77 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.003399/1.18, allocations: 0.6268 MB / 1.156 GB, free: 6.129 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/1.18, allocations: 81.11 kB / 1.156 GB, free: 6.031 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005208/1.18, allocations: 271.1 kB / 1.157 GB, free: 5.762 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.875e-05/1.181, allocations: 25.7 kB / 1.157 GB, free: 5.73 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/1.181, allocations: 239.3 kB / 1.157 GB, free: 5.492 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/1.181, allocations: 98.66 kB / 1.157 GB, free: 5.395 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/1.181, allocations: 0 / 1.157 GB, free: 5.395 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001672/1.181, allocations: 342.7 kB / 1.157 GB, free: 5.051 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004657/1.182, allocations: 168.9 kB / 1.157 GB, free: 4.887 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006299/1.182, allocations: 324.5 kB / 1.158 GB, free: 4.492 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000907/1.183, allocations: 251.8 kB / 1.158 GB, free: 4.246 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.183, allocations: 0 / 1.158 GB, free: 4.246 MB / 0.7605 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003413/1.187, allocations: 0.7179 MB / 1.159 GB, free: 3.516 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009838/1.188, allocations: 2.082 MB / 1.161 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/1.188, allocations: 4 kB / 1.161 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002325/1.19, allocations: 205.3 kB / 1.161 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007973/1.191, allocations: 91.88 kB / 1.161 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/1.193, allocations: 1.297 MB / 1.162 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000742/1.194, allocations: 25.7 kB / 1.162 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.966e-05/1.194, allocations: 20 kB / 1.162 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/1.194, allocations: 4 kB / 1.162 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001451/1.195, allocations: 447.5 kB / 1.163 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/1.195, allocations: 8 kB / 1.163 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/1.195, allocations: 11.94 kB / 1.163 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008383/1.196, allocations: 103.9 kB / 1.163 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/1.196, allocations: 12.62 kB / 1.163 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004944/1.197, allocations: 19.83 kB / 1.163 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/1.197, allocations: 20 kB / 1.163 GB, free: 14.97 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.0002122/1.197, allocations: 132.6 kB / 1.163 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/1.197, allocations: 27.62 kB / 1.163 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00336/1.201, allocations: 0.6316 MB / 1.164 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/1.201, allocations: 4 kB / 1.164 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/1.201, allocations: 3.906 kB / 1.164 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/1.201, allocations: 8.125 kB / 1.164 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/1.202, allocations: 0.5863 MB / 1.164 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/1.202, allocations: 0 / 1.164 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004136/1.203, allocations: 55.94 kB / 1.164 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002998/1.206, allocations: 365.2 kB / 1.165 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.338e-05/1.206, allocations: 4 kB / 1.165 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006499/1.212, allocations: 3.223 MB / 1.168 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.212, allocations: 0 / 1.168 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003434/1.216, allocations: 0.8317 MB / 1.169 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00353/1.219, allocations: 1.199 MB / 1.17 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/1.22, allocations: 144.6 kB / 1.17 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.38e-05/1.22, allocations: 8 kB / 1.17 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006342/1.22, allocations: 23.88 kB / 1.17 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.81e-05/1.22, allocations: 19.84 kB / 1.17 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/1.221, allocations: 12 kB / 1.17 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0003281/1.221, allocations: 195.1 kB / 1.17 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002884/1.224, allocations: 180.1 kB / 1.17 GB, free: 6.918 MB / 0.7761 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.0002502/1.224, allocations: 109.2 kB / 1.17 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002444/1.227, allocations: 0.6979 MB / 1.171 GB, free: 6.105 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/1.227, allocations: 4.312 kB / 1.171 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/1.228, allocations: 435.2 kB / 1.172 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006814/1.229, allocations: 59.23 kB / 1.172 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/1.23, allocations: 0.5405 MB / 1.172 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008414/1.231, allocations: 0.8847 MB / 1.173 GB, free: 4.121 MB / 0.7761 GB Notification: Performance of SimCode: time 1.563e-06/1.231, allocations: 0 / 1.173 GB, free: 4.121 MB / 0.7761 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)