Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.108/2.108, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001214/0.001214, allocations: 184.3 kB / 487 MB, free: 5.395 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.346/1.346, allocations: 221.3 MB / 0.7819 GB, free: 1.332 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.0009576/0.0009576, allocations: 97.98 kB / 0.9213 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5551/0.5561, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.8268, allocations: 142.3 MB / 1.205 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.543/5.37, allocations: 1.938 GB / 3.143 GB, free: 365.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/5.371, allocations: 83.95 kB / 3.143 GB, free: 365.8 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.6377/6.008, allocations: 328.9 MB / 3.464 GB, free: 31.64 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/6.008, allocations: 8 kB / 3.464 GB, free: 31.63 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003971/6.012, allocations: 0.5823 MB / 3.465 GB, free: 31.05 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00366/6.016, allocations: 2.251 MB / 3.467 GB, free: 28.75 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.043e-05/6.016, allocations: 55.91 kB / 3.467 GB, free: 28.69 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/6.016, allocations: 96 kB / 3.467 GB, free: 28.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002871/6.019, allocations: 1.884 MB / 3.469 GB, free: 26.71 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/6.022, allocations: 1.597 MB / 3.471 GB, free: 25.06 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.713e-05/6.022, allocations: 0 / 3.471 GB, free: 25.06 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/6.022, allocations: 4 kB / 3.471 GB, free: 25.06 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.58e-05/6.022, allocations: 40 kB / 3.471 GB, free: 25.02 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/6.033, allocations: 6.08 MB / 3.477 GB, free: 18.76 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/6.035, allocations: 1.812 MB / 3.478 GB, free: 16.87 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008604/6.036, allocations: 0.6674 MB / 3.479 GB, free: 16.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007841/6.037, allocations: 0.7521 MB / 3.48 GB, free: 15.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001231/6.038, allocations: 0.8581 MB / 3.481 GB, free: 14.42 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 4.218e-06/6.038, allocations: 0 / 3.481 GB, free: 14.42 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.00412/6.042, allocations: 1.601 MB / 3.482 GB, free: 12.79 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/6.042, allocations: 244.6 kB / 3.482 GB, free: 12.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003055/6.045, allocations: 2.355 MB / 3.485 GB, free: 10.13 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001751/6.045, allocations: 29.7 kB / 3.485 GB, free: 10.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000514/6.046, allocations: 0.573 MB / 3.485 GB, free: 9.512 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003993/6.046, allocations: 445.2 kB / 3.486 GB, free: 9.07 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/6.046, allocations: 0 / 3.486 GB, free: 9.07 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001056/6.047, allocations: 349.9 kB / 3.486 GB, free: 8.723 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006586/6.047, allocations: 490.4 kB / 3.486 GB, free: 8.242 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007686/6.048, allocations: 0.6865 MB / 3.487 GB, free: 7.492 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008741/6.049, allocations: 0.5696 MB / 3.488 GB, free: 6.922 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/6.049, allocations: 0 / 3.488 GB, free: 6.922 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003097/6.052, allocations: 1.531 MB / 3.489 GB, free: 5.367 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/6.052, allocations: 19.06 kB / 3.489 GB, free: 5.352 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/6.052, allocations: 3.984 kB / 3.489 GB, free: 5.348 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/6.053, allocations: 196.1 kB / 3.489 GB, free: 5.141 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/6.055, allocations: 311.6 kB / 3.49 GB, free: 4.836 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5861/6.641, allocations: 6.509 MB / 3.496 GB, free: 434.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/6.643, allocations: 135.9 kB / 3.496 GB, free: 434.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/6.643, allocations: 65.97 kB / 3.496 GB, free: 434.4 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.0003899/6.644, allocations: 135 kB / 3.496 GB, free: 434.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003323/6.644, allocations: 175.1 kB / 3.497 GB, free: 434.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004218/6.648, allocations: 2.017 MB / 3.499 GB, free: 434.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/6.648, allocations: 18.16 kB / 3.499 GB, free: 434.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/6.648, allocations: 0 / 3.499 GB, free: 434.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/6.648, allocations: 8.625 kB / 3.499 GB, free: 434.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006131/6.654, allocations: 3.862 MB / 3.502 GB, free: 433.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/6.654, allocations: 6.969 kB / 3.502 GB, free: 433.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/6.656, allocations: 321.6 kB / 3.503 GB, free: 433.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009332/6.657, allocations: 208.9 kB / 3.503 GB, free: 433.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/6.657, allocations: 28.72 kB / 3.503 GB, free: 433.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004686/6.662, allocations: 6.531 MB / 3.509 GB, free: 427.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/6.662, allocations: 3.844 kB / 3.509 GB, free: 427.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003687/6.665, allocations: 1.723 MB / 3.511 GB, free: 427.5 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003319/6.669, allocations: 2.2 MB / 3.513 GB, free: 426.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/6.67, allocations: 0.661 MB / 3.514 GB, free: 426.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003485/6.67, allocations: 0 / 3.514 GB, free: 426.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/6.672, allocations: 116.5 kB / 3.514 GB, free: 426.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/6.672, allocations: 86.97 kB / 3.514 GB, free: 426.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/6.672, allocations: 86.52 kB / 3.514 GB, free: 426.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002118/6.674, allocations: 1.823 MB / 3.516 GB, free: 426.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00321/6.677, allocations: 0.9214 MB / 3.517 GB, free: 426.4 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.002708/6.68, allocations: 1.73 MB / 3.518 GB, free: 426.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00231/6.682, allocations: 1.71 MB / 3.52 GB, free: 425.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/6.682, allocations: 0.6562 kB / 3.52 GB, free: 425.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001293/6.684, allocations: 1.206 MB / 3.521 GB, free: 425.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/6.685, allocations: 422 kB / 3.522 GB, free: 425.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006745/6.692, allocations: 3.006 MB / 3.525 GB, free: 424.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00202/6.694, allocations: 1.866 MB / 3.526 GB, free: 423.8 MB / 1.151 GB Notification: Performance of SimCode: time 5.91e-07/6.694, allocations: 0 / 3.526 GB, free: 423.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat does not exist to compare? outputFormat=mat