Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",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 2.118/2.118, allocations: 387.2 MB / 394.5 MB, free: 13.22 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001269, allocations: 178.2 kB / 487 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 221.4 MB / 0.7819 GB, free: 6.711 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 101.8 kB / 0.9213 GB, free: 43.62 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.3818/0.383, allocations: 148.5 MB / 1.066 GB, free: 7.414 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8649/1.248, allocations: 142.3 MB / 1.205 GB, free: 72.66 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.709/4.957, allocations: 1.937 GB / 3.143 GB, free: 142.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/4.957, allocations: 88.55 kB / 3.143 GB, free: 142.1 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.9175/5.874, allocations: 154.7 MB / 3.294 GB, free: 359.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/5.875, allocations: 11.28 kB / 3.294 GB, free: 359.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/5.876, allocations: 281.8 kB / 3.294 GB, free: 359.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/5.878, allocations: 0.831 MB / 3.295 GB, free: 359.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.233e-05/5.878, allocations: 32.08 kB / 3.295 GB, free: 359.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/5.878, allocations: 53.22 kB / 3.295 GB, free: 359.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001864/5.88, allocations: 1.151 MB / 3.296 GB, free: 359.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/5.881, allocations: 0.8646 MB / 3.297 GB, free: 359.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/5.881, allocations: 3.703 kB / 3.297 GB, free: 359.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.789e-05/5.881, allocations: 0 / 3.297 GB, free: 359.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/5.881, allocations: 23.44 kB / 3.297 GB, free: 359.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004309/5.885, allocations: 3.028 MB / 3.3 GB, free: 358.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/5.887, allocations: 0.9001 MB / 3.301 GB, free: 358.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004256/5.887, allocations: 341.5 kB / 3.301 GB, free: 358.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002525/5.887, allocations: 216.6 kB / 3.301 GB, free: 358.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005784/5.888, allocations: 480.6 kB / 3.302 GB, free: 358.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=86): time 2.344e-06/5.888, allocations: 0 / 3.302 GB, free: 358.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=86): time 0.002102/5.89, allocations: 0.8477 MB / 3.303 GB, free: 358 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.2e-05/5.89, allocations: 244.4 kB / 3.303 GB, free: 357.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009485/5.891, allocations: 0.7211 MB / 3.304 GB, free: 357.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.994e-05/5.891, allocations: 25.7 kB / 3.304 GB, free: 357.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000238/5.891, allocations: 336.1 kB / 3.304 GB, free: 357.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002299/5.892, allocations: 278 kB / 3.304 GB, free: 357.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/5.892, allocations: 2.953 kB / 3.304 GB, free: 357.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.979e-05/5.892, allocations: 335.9 kB / 3.304 GB, free: 356.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/5.892, allocations: 252.9 kB / 3.305 GB, free: 356.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004306/5.893, allocations: 383.6 kB / 3.305 GB, free: 356.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/5.893, allocations: 312 kB / 3.305 GB, free: 356.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/5.893, allocations: 0 / 3.305 GB, free: 356.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001755/5.895, allocations: 0.8342 MB / 3.306 GB, free: 356.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/5.895, allocations: 5.688 kB / 3.306 GB, free: 356.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/5.895, allocations: 2.734 kB / 3.306 GB, free: 356.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007829/5.896, allocations: 113.2 kB / 3.306 GB, free: 356.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008411/5.896, allocations: 187.3 kB / 3.306 GB, free: 356.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/5.899, allocations: 2.726 MB / 3.309 GB, free: 354.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008063/5.9, allocations: 87.55 kB / 3.309 GB, free: 354.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.95e-05/5.9, allocations: 32.69 kB / 3.309 GB, free: 354.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 85 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002145/5.9, allocations: 118.5 kB / 3.309 GB, free: 354.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/5.9, allocations: 92.34 kB / 3.309 GB, free: 354.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002601/5.903, allocations: 1.141 MB / 3.311 GB, free: 354 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/5.903, allocations: 10.41 kB / 3.311 GB, free: 354 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/5.903, allocations: 0 / 3.311 GB, free: 354 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/5.903, allocations: 7.219 kB / 3.311 GB, free: 354 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003612/5.907, allocations: 2.083 MB / 3.313 GB, free: 353.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/5.907, allocations: 3.25 kB / 3.313 GB, free: 353.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008873/5.907, allocations: 196.6 kB / 3.313 GB, free: 353.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000668/5.908, allocations: 109.1 kB / 3.313 GB, free: 353.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.331e-05/5.908, allocations: 22.53 kB / 3.313 GB, free: 353.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002518/5.911, allocations: 2.744 MB / 3.316 GB, free: 351.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/5.911, allocations: 0 / 3.316 GB, free: 351.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002139/5.913, allocations: 1.007 MB / 3.317 GB, free: 351 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002068/5.915, allocations: 1.443 MB / 3.318 GB, free: 350.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005258/5.916, allocations: 337.7 kB / 3.318 GB, free: 350.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/5.916, allocations: 0 / 3.318 GB, free: 350.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007859/5.916, allocations: 87 kB / 3.318 GB, free: 350.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/5.917, allocations: 56.66 kB / 3.318 GB, free: 350.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.34e-05/5.917, allocations: 40.73 kB / 3.318 GB, free: 350.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007216/5.917, allocations: 0.5782 MB / 3.319 GB, free: 350.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002485/5.92, allocations: 0.5993 MB / 3.32 GB, free: 350.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002351/5.922, allocations: 1.385 MB / 3.321 GB, free: 349.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001916/5.924, allocations: 0.889 MB / 3.322 GB, free: 349.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/5.924, allocations: 3.969 kB / 3.322 GB, free: 349.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009168/5.925, allocations: 0.612 MB / 3.322 GB, free: 349.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/5.927, allocations: 252.8 kB / 3.323 GB, free: 349.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004597/5.931, allocations: 1.629 MB / 3.324 GB, free: 349.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/5.932, allocations: 1.24 MB / 3.326 GB, free: 348.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.342e-06/5.932, allocations: 0 / 3.326 GB, free: 348.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat does not exist to compare? outputFormat=mat