Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",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 2.041/2.041, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001024/0.001024, allocations: 173.3 kB / 490.8 MB, free: 1.941 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.33/1.33, 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.001033/0.001033, allocations: 85.8 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5771/0.5782, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.8514, allocations: 143 MB / 1.212 GB, free: 40.01 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.441/5.293, allocations: 1.938 GB / 3.15 GB, free: 388.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/5.293, allocations: 83.92 kB / 3.15 GB, free: 388.7 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.6335/5.927, allocations: 328.9 MB / 3.471 GB, free: 54.47 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/5.927, allocations: 8 kB / 3.471 GB, free: 54.46 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00417/5.931, allocations: 0.5862 MB / 3.472 GB, free: 53.88 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003862/5.935, allocations: 2.247 MB / 3.474 GB, free: 51.58 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.34e-05/5.935, allocations: 52 kB / 3.474 GB, free: 51.53 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/5.935, allocations: 103.9 kB / 3.474 GB, free: 51.43 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002994/5.938, allocations: 1.884 MB / 3.476 GB, free: 49.54 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/5.941, allocations: 1.597 MB / 3.478 GB, free: 47.89 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/5.941, allocations: 3.938 kB / 3.478 GB, free: 47.89 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/5.941, allocations: 4 kB / 3.478 GB, free: 47.88 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.708e-05/5.941, allocations: 40 kB / 3.478 GB, free: 47.84 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01025/5.951, allocations: 6.06 MB / 3.484 GB, free: 41.61 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002159/5.953, allocations: 1.81 MB / 3.485 GB, free: 39.72 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008234/5.954, allocations: 0.6713 MB / 3.486 GB, free: 39.04 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007593/5.955, allocations: 0.7442 MB / 3.487 GB, free: 38.15 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/5.956, allocations: 0.8581 MB / 3.488 GB, free: 37.28 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 3.957e-06/5.956, allocations: 7.938 kB / 3.488 GB, free: 37.27 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003792/5.96, allocations: 1.594 MB / 3.489 GB, free: 35.65 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/5.96, allocations: 244.6 kB / 3.489 GB, free: 35.36 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002757/5.963, allocations: 2.355 MB / 3.492 GB, free: 32.99 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001411/5.963, allocations: 33.7 kB / 3.492 GB, free: 32.95 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004232/5.963, allocations: 0.573 MB / 3.492 GB, free: 32.36 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003108/5.964, allocations: 445.2 kB / 3.493 GB, free: 31.92 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.879e-05/5.964, allocations: 0 / 3.493 GB, free: 31.92 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.488e-05/5.964, allocations: 345.9 kB / 3.493 GB, free: 31.58 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006494/5.964, allocations: 490.4 kB / 3.494 GB, free: 31.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007887/5.965, allocations: 0.6904 MB / 3.494 GB, free: 30.34 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008686/5.966, allocations: 0.5697 MB / 3.495 GB, free: 29.77 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/5.966, allocations: 0 / 3.495 GB, free: 29.77 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002989/5.969, allocations: 1.543 MB / 3.496 GB, free: 28.21 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/5.969, allocations: 4 kB / 3.496 GB, free: 28.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/5.969, allocations: 3.906 kB / 3.496 GB, free: 28.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/5.97, allocations: 208.2 kB / 3.497 GB, free: 27.98 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/5.972, allocations: 311.6 kB / 3.497 GB, free: 27.68 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004294/5.976, allocations: 6.506 MB / 3.503 GB, free: 20.58 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/5.978, allocations: 131.2 kB / 3.503 GB, free: 20.45 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/5.978, allocations: 79.95 kB / 3.503 GB, free: 20.38 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 (132): * Single equations (assignments): 127 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003152/5.978, allocations: 128.8 kB / 3.504 GB, free: 20.24 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003085/5.978, allocations: 173.8 kB / 3.504 GB, free: 20.07 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004172/5.983, allocations: 2.012 MB / 3.506 GB, free: 18.03 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/5.983, allocations: 16 kB / 3.506 GB, free: 18.01 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/5.983, allocations: 3.938 kB / 3.506 GB, free: 18.01 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/5.983, allocations: 7.969 kB / 3.506 GB, free: 18 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006266/5.989, allocations: 3.871 MB / 3.509 GB, free: 14.07 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/5.989, allocations: 0 / 3.509 GB, free: 14.07 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/5.99, allocations: 331.5 kB / 3.51 GB, free: 13.74 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008866/5.991, allocations: 208.1 kB / 3.51 GB, free: 13.52 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/5.991, allocations: 27.95 kB / 3.51 GB, free: 13.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004128/5.996, allocations: 6.517 MB / 3.516 GB, free: 6.402 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/5.996, allocations: 0 / 3.516 GB, free: 6.402 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003285/5.999, allocations: 1.726 MB / 3.518 GB, free: 4.637 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003275/6.002, allocations: 2.199 MB / 3.52 GB, free: 2.402 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/6.003, allocations: 0.6622 MB / 3.521 GB, free: 1.719 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003542/6.004, allocations: 0 / 3.521 GB, free: 1.719 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/6.005, allocations: 123.8 kB / 3.521 GB, free: 1.598 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/6.005, allocations: 89.12 kB / 3.521 GB, free: 1.512 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/6.006, allocations: 87.94 kB / 3.521 GB, free: 1.426 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.5916/6.597, allocations: 1.818 MB / 3.523 GB, free: 437.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005939/6.603, allocations: 0.9228 MB / 3.524 GB, free: 437.9 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 (140): * Single equations (assignments): 133 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004675/6.608, allocations: 1.73 MB / 3.525 GB, free: 437.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003897/6.612, allocations: 1.711 MB / 3.527 GB, free: 437.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/6.612, allocations: 0.6562 kB / 3.527 GB, free: 437.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001657/6.614, allocations: 1.207 MB / 3.528 GB, free: 436.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/6.616, allocations: 421.4 kB / 3.529 GB, free: 436.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008007/6.624, allocations: 3.005 MB / 3.532 GB, free: 436.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002151/6.626, allocations: 1.866 MB / 3.533 GB, free: 435.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.403e-06/6.626, allocations: 0 / 3.533 GB, free: 435.3 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat does not exist to compare? outputFormat=mat