Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.858/1.858, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.0009884/0.0009884, allocations: 192.6 kB / 487 MB, free: 5.379 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.163/1.163, allocations: 221.3 MB / 0.7819 GB, free: 1.359 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008574/0.0008574, allocations: 99.17 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4329/0.4338, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.6235, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5707/1.194, allocations: 180.1 MB / 1.381 GB, free: 12.26 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/1.195, allocations: 98 kB / 1.381 GB, free: 12.21 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.05783/1.252, allocations: 25.78 MB / 1.406 GB, free: 6.406 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/1.252, allocations: 8 kB / 1.406 GB, free: 6.398 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/1.254, allocations: 143.3 kB / 1.407 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/1.254, allocations: 328.3 kB / 1.407 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/1.254, allocations: 12 kB / 1.407 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.179e-05/1.254, allocations: 20 kB / 1.407 GB, free: 5.895 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005635/1.255, allocations: 400.7 kB / 1.407 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006816/1.255, allocations: 0.5641 MB / 1.408 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/1.255, allocations: 0 / 1.408 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.062e-05/1.255, allocations: 4 kB / 1.408 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.019e-05/1.255, allocations: 32.08 kB / 1.408 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003051/1.258, allocations: 3.449 MB / 1.411 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/1.259, allocations: 322.8 kB / 1.412 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/1.259, allocations: 165 kB / 1.412 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/1.259, allocations: 4 kB / 1.412 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/1.259, allocations: 38.25 kB / 1.412 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.413e-06/1.259, allocations: 4 kB / 1.412 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.001687/1.261, allocations: 0.6349 MB / 1.412 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/1.261, allocations: 81.11 kB / 1.412 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/1.261, allocations: 272.6 kB / 1.413 GB, free: 416 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/1.261, allocations: 25.7 kB / 1.413 GB, free: 384 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/1.261, allocations: 239.1 kB / 1.413 GB, free: 164 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/1.261, allocations: 98.09 kB / 1.413 GB, free: 76 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/1.261, allocations: 0 / 1.413 GB, free: 76 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001022/1.261, allocations: 336.2 kB / 1.413 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/1.262, allocations: 168.9 kB / 1.414 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/1.262, allocations: 327.8 kB / 1.414 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/1.262, allocations: 255.5 kB / 1.414 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/1.262, allocations: 0 / 1.414 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001632/1.264, allocations: 0.713 MB / 1.415 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006535/1.265, allocations: 2.082 MB / 1.417 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/1.265, allocations: 8 kB / 1.417 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/1.266, allocations: 205.8 kB / 1.417 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/1.266, allocations: 91.8 kB / 1.417 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/1.267, allocations: 1.286 MB / 1.418 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/1.268, allocations: 23.94 kB / 1.418 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/1.268, allocations: 23.05 kB / 1.418 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.705e-06/1.268, allocations: 4 kB / 1.418 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007354/1.269, allocations: 452.1 kB / 1.419 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.269, allocations: 8.719 kB / 1.419 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/1.269, allocations: 8 kB / 1.419 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/1.269, allocations: 107.4 kB / 1.419 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/1.269, allocations: 11.94 kB / 1.419 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/1.269, allocations: 19.83 kB / 1.419 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/1.269, allocations: 19.69 kB / 1.419 GB, free: 10.23 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 0.0001185/1.269, allocations: 121.2 kB / 1.419 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.565e-05/1.269, allocations: 32.19 kB / 1.419 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/1.271, allocations: 0.6466 MB / 1.42 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/1.271, allocations: 4 kB / 1.42 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.271, allocations: 3.906 kB / 1.42 GB, free: 9.535 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/1.271, allocations: 0 / 1.42 GB, free: 9.535 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008589/1.272, allocations: 0.5913 MB / 1.42 GB, free: 8.992 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.272, allocations: 0 / 1.42 GB, free: 8.992 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/1.272, allocations: 47.84 kB / 1.42 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001518/1.274, allocations: 363.5 kB / 1.421 GB, free: 8.605 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/1.274, allocations: 8 kB / 1.421 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003479/1.277, allocations: 3.217 MB / 1.424 GB, free: 5.375 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.277, allocations: 4.062 kB / 1.424 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001599/1.279, allocations: 0.8372 MB / 1.425 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001706/1.281, allocations: 1.201 MB / 1.426 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/1.281, allocations: 139.4 kB / 1.426 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/1.281, allocations: 3.984 kB / 1.426 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/1.281, allocations: 31.06 kB / 1.426 GB, free: 3.281 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/1.281, allocations: 15.91 kB / 1.426 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/1.281, allocations: 11.25 kB / 1.426 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001599/1.282, allocations: 201.9 kB / 1.426 GB, free: 3.098 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001773/1.283, allocations: 170.1 kB / 1.427 GB, free: 2.938 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.0001522/1.284, allocations: 128.3 kB / 1.427 GB, free: 2.805 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001176/1.285, allocations: 0.6922 MB / 1.427 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.285, allocations: 0 / 1.427 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006925/1.285, allocations: 435 kB / 1.428 GB, free: 1.906 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/1.286, allocations: 64.84 kB / 1.428 GB, free: 1.855 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/1.287, allocations: 0.5492 MB / 1.428 GB, free: 1.348 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004634/1.287, allocations: 0.8823 MB / 1.429 GB, free: 468 kB / 0.8542 GB Notification: Performance of SimCode: time 2.21e-07/1.287, allocations: 0 / 1.429 GB, free: 468 kB / 0.8542 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat does not exist to compare? outputFormat=mat