Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",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.81/1.81, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.0009829/0.0009829, allocations: 181.2 kB / 490.8 MB, free: 1.918 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.133/1.133, allocations: 221.3 MB / 0.7863 GB, free: 13.62 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.0008247/0.0008247, allocations: 91.42 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4106/0.4115, allocations: 149.2 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.5867, allocations: 143 MB / 1.212 GB, free: 39.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4863/1.073, allocations: 149.3 MB / 1.357 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001759/1.073, allocations: 72.8 kB / 1.358 GB, free: 17.18 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.006502/1.08, allocations: 2.535 MB / 1.36 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/1.08, allocations: 10.03 kB / 1.36 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/1.08, allocations: 7.906 kB / 1.36 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.114e-05/1.08, allocations: 171.6 kB / 1.36 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/1.08, allocations: 1.609 kB / 1.36 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/1.08, allocations: 4 kB / 1.36 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.006e-05/1.08, allocations: 20.72 kB / 1.36 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.812e-05/1.08, allocations: 50.08 kB / 1.36 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/1.08, allocations: 1.25 kB / 1.36 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/1.08, allocations: 0.6094 kB / 1.36 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/1.08, allocations: 9.172 kB / 1.36 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/1.08, allocations: 269.2 kB / 1.361 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.187e-05/1.081, allocations: 36.47 kB / 1.361 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/1.081, allocations: 20.14 kB / 1.361 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/1.081, allocations: 9.016 kB / 1.361 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.958e-05/1.081, allocations: 65.36 kB / 1.361 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/1.081, allocations: 0 / 1.361 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001536/1.081, allocations: 67.45 kB / 1.361 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/1.081, allocations: 57.48 kB / 1.361 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.296e-05/1.081, allocations: 108.2 kB / 1.361 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/1.081, allocations: 27.56 kB / 1.361 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/1.081, allocations: 90.92 kB / 1.361 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/1.081, allocations: 19.23 kB / 1.361 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/1.081, allocations: 1.375 kB / 1.361 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001048/1.081, allocations: 318.3 kB / 1.361 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.743e-05/1.081, allocations: 20.09 kB / 1.361 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.934e-05/1.081, allocations: 60.06 kB / 1.361 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/1.082, allocations: 50.7 kB / 1.361 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.082, allocations: 0 / 1.361 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003334/1.082, allocations: 125 kB / 1.362 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/1.082, allocations: 5.125 kB / 1.362 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/1.082, allocations: 1.312 kB / 1.362 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/1.082, allocations: 3.594 kB / 1.362 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/1.082, allocations: 23.34 kB / 1.362 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/1.082, allocations: 10.61 kB / 1.362 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.371e-05/1.082, allocations: 15.19 kB / 1.362 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/1.082, allocations: 5.781 kB / 1.362 GB, free: 31.36 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.897e-05/1.082, allocations: 107.4 kB / 1.362 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/1.082, allocations: 6.25 kB / 1.362 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/1.082, allocations: 10.62 kB / 1.362 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.082, allocations: 5.188 kB / 1.362 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/1.082, allocations: 5.125 kB / 1.362 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.082, allocations: 0.7031 kB / 1.362 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/1.083, allocations: 313 kB / 1.362 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.083, allocations: 0 / 1.362 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.682e-05/1.083, allocations: 10.78 kB / 1.362 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/1.083, allocations: 5.812 kB / 1.362 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/1.083, allocations: 0.9688 kB / 1.362 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/1.083, allocations: 4.609 kB / 1.362 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.083, allocations: 1 kB / 1.362 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001179/1.083, allocations: 169.2 kB / 1.362 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002147/1.083, allocations: 0.5396 MB / 1.363 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/1.083, allocations: 83.81 kB / 1.363 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/1.083, allocations: 2.172 kB / 1.363 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.655e-05/1.083, allocations: 9.172 kB / 1.363 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/1.083, allocations: 3.953 kB / 1.363 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/1.083, allocations: 11.28 kB / 1.363 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.654e-05/1.083, allocations: 95.67 kB / 1.363 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00135/1.085, allocations: 28.53 kB / 1.363 GB, free: 30.12 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001209/1.085, allocations: 116.1 kB / 1.363 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001105/1.085, allocations: 48.11 kB / 1.363 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/1.085, allocations: 0 / 1.363 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.096e-05/1.085, allocations: 18.92 kB / 1.363 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/1.085, allocations: 19.17 kB / 1.363 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002317/1.085, allocations: 95.45 kB / 1.363 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/1.086, allocations: 0.7049 MB / 1.364 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of SimCode: time 8.51e-07/1.086, allocations: 0 / 1.364 GB, free: 29.23 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime_fmu --startTime=1 --stopTime=6 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat does not exist to compare? outputFormat=mat