Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.842/1.842, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.0009593/0.0009593, allocations: 187.9 kB / 490.8 MB, free: 1.973 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.132/1.132, allocations: 221.4 MB / 0.7863 GB, free: 13.7 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.000846/0.000846, allocations: 98.16 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4356/0.4365, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.6277, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.553/1.181, allocations: 180.9 MB / 1.388 GB, free: 15.81 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/1.181, allocations: 93.38 kB / 1.388 GB, free: 15.8 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.05268/1.234, allocations: 25.79 MB / 1.414 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/1.234, allocations: 15.94 kB / 1.414 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/1.235, allocations: 154.4 kB / 1.414 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/1.235, allocations: 329.2 kB / 1.414 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/1.235, allocations: 12 kB / 1.414 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/1.235, allocations: 20 kB / 1.414 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005618/1.236, allocations: 403.1 kB / 1.414 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006729/1.237, allocations: 0.557 MB / 1.415 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/1.237, allocations: 7.906 kB / 1.415 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.891e-05/1.237, allocations: 4 kB / 1.415 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.019e-05/1.237, allocations: 32.62 kB / 1.415 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002936/1.24, allocations: 3.441 MB / 1.418 GB, free: 9.301 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/1.24, allocations: 318.9 kB / 1.419 GB, free: 9.059 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/1.24, allocations: 168.1 kB / 1.419 GB, free: 8.941 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/1.24, allocations: 7.984 kB / 1.419 GB, free: 8.934 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/1.24, allocations: 38.02 kB / 1.419 GB, free: 8.891 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.463e-06/1.24, allocations: 0 / 1.419 GB, free: 8.891 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.001712/1.242, allocations: 0.6326 MB / 1.42 GB, free: 8.344 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/1.242, allocations: 77.11 kB / 1.42 GB, free: 8.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/1.242, allocations: 266.6 kB / 1.42 GB, free: 8.031 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/1.242, allocations: 25.7 kB / 1.42 GB, free: 8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/1.242, allocations: 245.4 kB / 1.42 GB, free: 7.777 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.867e-05/1.242, allocations: 89.38 kB / 1.42 GB, free: 7.699 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/1.242, allocations: 4 kB / 1.42 GB, free: 7.695 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001022/1.243, allocations: 341.2 kB / 1.421 GB, free: 7.363 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/1.243, allocations: 167.6 kB / 1.421 GB, free: 7.258 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/1.243, allocations: 332.9 kB / 1.421 GB, free: 6.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/1.244, allocations: 248.7 kB / 1.421 GB, free: 6.754 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.244, allocations: 4 kB / 1.421 GB, free: 6.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001674/1.245, allocations: 0.7056 MB / 1.422 GB, free: 6.168 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005713/1.246, allocations: 2.083 MB / 1.424 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/1.246, allocations: 12 kB / 1.424 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/1.247, allocations: 193.8 kB / 1.424 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/1.247, allocations: 91.33 kB / 1.424 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/1.249, allocations: 1.284 MB / 1.426 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/1.249, allocations: 24.11 kB / 1.426 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/1.249, allocations: 27.41 kB / 1.426 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.51e-06/1.249, allocations: 4 kB / 1.426 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007048/1.25, allocations: 468.6 kB / 1.426 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/1.25, allocations: 4 kB / 1.426 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/1.25, allocations: 8 kB / 1.426 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/1.25, allocations: 109.9 kB / 1.426 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/1.25, allocations: 11.94 kB / 1.426 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/1.25, allocations: 32.3 kB / 1.426 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/1.25, allocations: 19.06 kB / 1.426 GB, free: 1.836 MB / 0.8386 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.719e-05/1.251, allocations: 117.6 kB / 1.426 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.906e-05/1.251, allocations: 31.62 kB / 1.426 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/1.252, allocations: 0.6398 MB / 1.427 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/1.252, allocations: 4 kB / 1.427 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.252, allocations: 0 / 1.427 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.252, allocations: 0 / 1.427 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007097/1.253, allocations: 0.5907 MB / 1.428 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/1.253, allocations: 4 kB / 1.428 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/1.253, allocations: 47.78 kB / 1.428 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001563/1.255, allocations: 359.1 kB / 1.428 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/1.255, allocations: 0 / 1.428 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003212/1.258, allocations: 3.226 MB / 1.431 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.258, allocations: 4.047 kB / 1.431 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001623/1.26, allocations: 0.8237 MB / 1.432 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001708/1.261, allocations: 1.218 MB / 1.433 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/1.262, allocations: 138.9 kB / 1.433 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.399e-05/1.262, allocations: 7.984 kB / 1.433 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/1.262, allocations: 23.97 kB / 1.433 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/1.262, allocations: 18.83 kB / 1.433 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/1.262, allocations: 7 kB / 1.433 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001563/1.262, allocations: 208.7 kB / 1.433 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001849/1.264, allocations: 171.1 kB / 1.434 GB, free: 10.55 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.0001411/1.264, allocations: 115.1 kB / 1.434 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001134/1.265, allocations: 0.6938 MB / 1.434 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.265, allocations: 0 / 1.434 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006323/1.266, allocations: 443.9 kB / 1.435 GB, free: 9.523 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/1.266, allocations: 51.28 kB / 1.435 GB, free: 9.484 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009597/1.267, allocations: 0.5459 MB / 1.435 GB, free: 8.977 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/1.268, allocations: 0.8853 MB / 1.436 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of SimCode: time 2.6e-07/1.268, allocations: 0 / 1.436 GB, free: 8.082 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat does not exist to compare? outputFormat=mat