Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.777/1.777, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009441/0.000944, allocations: 190 kB / 490.8 MB, free: 1.961 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.113/1.113, allocations: 221.3 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007985/0.0007984, allocations: 108.3 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4071/0.4079, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.5821, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5051/1.087, allocations: 184.5 MB / 1.392 GB, free: 14.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/1.087, allocations: 97.67 kB / 1.392 GB, free: 14.13 MB / 0.823 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.06566/1.153, allocations: 30.82 MB / 1.422 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/1.153, allocations: 12 kB / 1.422 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/1.154, allocations: 145.9 kB / 1.422 GB, free: 6.191 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004692/1.155, allocations: 337.4 kB / 1.423 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/1.155, allocations: 12 kB / 1.423 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.484e-05/1.155, allocations: 20 kB / 1.423 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006109/1.156, allocations: 403.6 kB / 1.423 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007366/1.156, allocations: 0.5636 MB / 1.424 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/1.156, allocations: 7.906 kB / 1.424 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.116e-05/1.156, allocations: 4 kB / 1.424 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/1.156, allocations: 31.89 kB / 1.424 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003328/1.16, allocations: 3.442 MB / 1.427 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/1.16, allocations: 319.2 kB / 1.427 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/1.16, allocations: 162.8 kB / 1.427 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/1.16, allocations: 7.062 kB / 1.427 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/1.16, allocations: 34.97 kB / 1.427 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.422e-06/1.16, allocations: 4 kB / 1.427 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.001731/1.162, allocations: 0.6314 MB / 1.428 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/1.162, allocations: 81.11 kB / 1.428 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/1.162, allocations: 259.3 kB / 1.428 GB, free: 348 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/1.162, allocations: 33.8 kB / 1.428 GB, free: 308 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/1.163, allocations: 251.3 kB / 1.429 GB, free: 72 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/1.163, allocations: 89 kB / 1.429 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/1.163, allocations: 0 / 1.429 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001022/1.163, allocations: 341.1 kB / 1.429 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/1.163, allocations: 170.1 kB / 1.429 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/1.163, allocations: 328.6 kB / 1.43 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/1.164, allocations: 249.3 kB / 1.43 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.164, allocations: 0 / 1.43 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001648/1.165, allocations: 0.7068 MB / 1.43 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.000677/1.166, allocations: 2.095 MB / 1.432 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.166, allocations: 7.984 kB / 1.432 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/1.167, allocations: 198.2 kB / 1.433 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/1.168, allocations: 94.45 kB / 1.433 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/1.169, allocations: 1.279 MB / 1.434 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003484/1.169, allocations: 27.88 kB / 1.434 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/1.169, allocations: 19.62 kB / 1.434 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.541e-06/1.169, allocations: 4 kB / 1.434 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007042/1.17, allocations: 465.3 kB / 1.435 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.17, allocations: 8 kB / 1.435 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.354e-06/1.17, allocations: 8.719 kB / 1.435 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/1.17, allocations: 106.6 kB / 1.435 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/1.17, allocations: 23.86 kB / 1.435 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/1.171, allocations: 19.41 kB / 1.435 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/1.171, allocations: 19.98 kB / 1.435 GB, free: 10.13 MB / 0.8542 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 9.622e-05/1.171, allocations: 123.8 kB / 1.435 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-05/1.171, allocations: 31.62 kB / 1.435 GB, free: 9.977 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/1.173, allocations: 0.6411 MB / 1.435 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/1.173, allocations: 7.984 kB / 1.435 GB, free: 9.445 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/1.173, allocations: 4 kB / 1.435 GB, free: 9.441 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/1.173, allocations: 0 / 1.435 GB, free: 9.441 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007289/1.173, allocations: 0.5939 MB / 1.436 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.173, allocations: 0 / 1.436 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/1.174, allocations: 39.92 kB / 1.436 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001509/1.175, allocations: 358.9 kB / 1.436 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/1.175, allocations: 8 kB / 1.436 GB, free: 8.512 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003308/1.178, allocations: 3.222 MB / 1.44 GB, free: 5.289 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.178, allocations: 0 / 1.44 GB, free: 5.289 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001616/1.18, allocations: 0.8232 MB / 1.44 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001733/1.182, allocations: 1.221 MB / 1.442 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/1.182, allocations: 139.5 kB / 1.442 GB, free: 3.227 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/1.182, allocations: 0 / 1.442 GB, free: 3.227 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/1.182, allocations: 31.89 kB / 1.442 GB, free: 3.195 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/1.182, allocations: 15.27 kB / 1.442 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/1.182, allocations: 15.75 kB / 1.442 GB, free: 3.172 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001685/1.183, allocations: 199.5 kB / 1.442 GB, free: 3.012 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001781/1.184, allocations: 170.9 kB / 1.442 GB, free: 2.852 MB / 0.8542 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.0001466/1.185, allocations: 119.1 kB / 1.442 GB, free: 2.727 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001174/1.186, allocations: 0.7002 MB / 1.443 GB, free: 2.211 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.186, allocations: 3.938 kB / 1.443 GB, free: 2.207 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006374/1.186, allocations: 432.4 kB / 1.443 GB, free: 1.82 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/1.187, allocations: 59.02 kB / 1.443 GB, free: 1.777 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009929/1.188, allocations: 0.5403 MB / 1.444 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004841/1.188, allocations: 0.8858 MB / 1.445 GB, free: 384 kB / 0.8542 GB Notification: Performance of SimCode: time 2.71e-07/1.188, allocations: 0 / 1.445 GB, free: 384 kB / 0.8542 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat does not exist to compare? outputFormat=mat