Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_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.429/1.429, allocations: 289.8 MB / 297.1 MB, free: 9.066 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.00109/0.00109, allocations: 185.2 kB / 366.3 MB, free: 11.33 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.071/1.071, allocations: 205.1 MB / 0.6256 GB, free: 11.36 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007808/0.0007809, allocations: 82.44 kB / 0.7396 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.3691/0.37, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.525, allocations: 116.3 MB / 0.9727 GB, free: 31.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4797/1.005, allocations: 173.1 MB / 1.142 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/1.005, allocations: 99.09 kB / 1.142 GB, free: 11.79 MB / 0.6823 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.05178/1.057, allocations: 24.41 MB / 1.166 GB, free: 7.352 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/1.057, allocations: 11.94 kB / 1.166 GB, free: 7.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/1.058, allocations: 142.5 kB / 1.166 GB, free: 7.203 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/1.058, allocations: 324.7 kB / 1.166 GB, free: 6.871 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/1.058, allocations: 12 kB / 1.166 GB, free: 6.859 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.917e-05/1.058, allocations: 20 kB / 1.166 GB, free: 6.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005607/1.059, allocations: 397.4 kB / 1.167 GB, free: 6.578 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006826/1.06, allocations: 0.569 MB / 1.167 GB, free: 6.074 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/1.06, allocations: 0 / 1.167 GB, free: 6.074 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/1.06, allocations: 4 kB / 1.167 GB, free: 6.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.728e-05/1.06, allocations: 31.39 kB / 1.167 GB, free: 6.043 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003102/1.063, allocations: 3.451 MB / 1.17 GB, free: 2.629 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/1.063, allocations: 316.9 kB / 1.171 GB, free: 2.387 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/1.063, allocations: 169 kB / 1.171 GB, free: 2.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/1.063, allocations: 0 / 1.171 GB, free: 2.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/1.064, allocations: 37.06 kB / 1.171 GB, free: 2.227 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.162e-06/1.064, allocations: 4 kB / 1.171 GB, free: 2.223 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.001693/1.065, allocations: 0.6328 MB / 1.172 GB, free: 1.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/1.065, allocations: 81.11 kB / 1.172 GB, free: 1.582 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/1.066, allocations: 270 kB / 1.172 GB, free: 1.363 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/1.066, allocations: 29.7 kB / 1.172 GB, free: 1.328 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/1.066, allocations: 239.9 kB / 1.172 GB, free: 1.109 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.431e-05/1.066, allocations: 93.42 kB / 1.172 GB, free: 1.027 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/1.066, allocations: 0 / 1.172 GB, free: 1.027 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.066, allocations: 337.8 kB / 1.173 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/1.066, allocations: 175.8 kB / 1.173 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/1.066, allocations: 325 kB / 1.173 GB, free: 272 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/1.067, allocations: 253.4 kB / 1.173 GB, free: 88 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.067, allocations: 0 / 1.173 GB, free: 88 kB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001708/1.069, allocations: 0.714 MB / 1.174 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006015/1.069, allocations: 2.081 MB / 1.176 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.069, allocations: 4 kB / 1.176 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/1.07, allocations: 210.5 kB / 1.176 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/1.071, allocations: 95.27 kB / 1.176 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/1.072, allocations: 1.284 MB / 1.178 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003641/1.072, allocations: 23.83 kB / 1.178 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/1.072, allocations: 23.19 kB / 1.178 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.735e-06/1.072, allocations: 7.906 kB / 1.178 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006935/1.073, allocations: 444.4 kB / 1.178 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.073, allocations: 8 kB / 1.178 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/1.073, allocations: 8.719 kB / 1.178 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/1.073, allocations: 111.3 kB / 1.178 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/1.073, allocations: 11.94 kB / 1.178 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/1.074, allocations: 19.83 kB / 1.178 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/1.074, allocations: 22.75 kB / 1.178 GB, free: 11.18 MB / 0.7136 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.0001113/1.074, allocations: 124.8 kB / 1.178 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/1.074, allocations: 27.62 kB / 1.178 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/1.076, allocations: 0.635 MB / 1.179 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/1.076, allocations: 4 kB / 1.179 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.076, allocations: 3.984 kB / 1.179 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/1.076, allocations: 7.906 kB / 1.179 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007765/1.076, allocations: 0.5901 MB / 1.18 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.076, allocations: 0 / 1.18 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/1.077, allocations: 43.86 kB / 1.18 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001531/1.078, allocations: 365.3 kB / 1.18 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/1.078, allocations: 7.906 kB / 1.18 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0033/1.082, allocations: 3.221 MB / 1.183 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/1.082, allocations: 4.062 kB / 1.183 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001648/1.083, allocations: 0.8168 MB / 1.184 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001756/1.085, allocations: 1.21 MB / 1.185 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/1.085, allocations: 144.4 kB / 1.185 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/1.085, allocations: 4 kB / 1.185 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/1.086, allocations: 23.88 kB / 1.185 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/1.086, allocations: 15.97 kB / 1.185 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/1.086, allocations: 11.94 kB / 1.185 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001805/1.086, allocations: 198.6 kB / 1.186 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001951/1.088, allocations: 183.8 kB / 1.186 GB, free: 3.898 MB / 0.7136 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.0001869/1.088, allocations: 115.2 kB / 1.186 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001205/1.089, allocations: 0.696 MB / 1.186 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.089, allocations: 0 / 1.186 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006843/1.09, allocations: 443.8 kB / 1.187 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/1.09, allocations: 55.38 kB / 1.187 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/1.091, allocations: 0.5455 MB / 1.187 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004798/1.092, allocations: 0.8884 MB / 1.188 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of SimCode: time 2.8e-07/1.092, allocations: 0 / 1.188 GB, free: 1.414 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)