Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.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.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan",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.759/1.759, allocations: 390.4 MB / 397.7 MB, free: 10.68 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.0009644/0.0009644, allocations: 183.4 kB / 490.8 MB, free: 11.24 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.123/1.123, allocations: 221.4 MB / 0.7863 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008158/0.0008158, allocations: 97.61 kB / 0.9264 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2317/0.2325, allocations: 149.3 MB / 1.072 GB, free: 15.39 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4886/0.7211, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1295/0.8506, allocations: 149.6 MB / 1.358 GB, free: 41.95 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001859/0.8508, allocations: 87.92 kB / 1.358 GB, free: 41.87 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.005721/0.8566, allocations: 2.784 MB / 1.361 GB, free: 39.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.8566, allocations: 11.38 kB / 1.361 GB, free: 39.09 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.8567, allocations: 24.91 kB / 1.361 GB, free: 39.07 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.8569, allocations: 239.2 kB / 1.361 GB, free: 38.79 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.8569, allocations: 9.812 kB / 1.361 GB, free: 38.79 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.8569, allocations: 8 kB / 1.361 GB, free: 38.78 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002071/0.8571, allocations: 140.7 kB / 1.361 GB, free: 38.64 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.8574, allocations: 181.5 kB / 1.361 GB, free: 38.45 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.8574, allocations: 3.938 kB / 1.361 GB, free: 38.44 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.8574, allocations: 1.438 kB / 1.361 GB, free: 38.44 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.8574, allocations: 4 kB / 1.361 GB, free: 38.44 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008662/0.8583, allocations: 0.7074 MB / 1.362 GB, free: 37.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.8584, allocations: 72.06 kB / 1.362 GB, free: 37.62 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.489e-05/0.8585, allocations: 36.86 kB / 1.362 GB, free: 37.58 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.8585, allocations: 5.031 kB / 1.362 GB, free: 37.57 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.188e-05/0.8585, allocations: 34.55 kB / 1.362 GB, free: 37.53 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.8585, allocations: 0.5625 kB / 1.362 GB, free: 37.53 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0002051/0.8587, allocations: 102.8 kB / 1.362 GB, free: 37.43 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.432e-05/0.8588, allocations: 55.41 kB / 1.362 GB, free: 37.36 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.8589, allocations: 152.7 kB / 1.362 GB, free: 37.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.8589, allocations: 25.7 kB / 1.362 GB, free: 37.17 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.8589, allocations: 144.7 kB / 1.363 GB, free: 37.03 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.859, allocations: 27.56 kB / 1.363 GB, free: 37 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.859, allocations: 0.5312 kB / 1.363 GB, free: 37 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 3.985e-05/0.859, allocations: 327.7 kB / 1.363 GB, free: 36.67 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.348e-05/0.8591, allocations: 31.98 kB / 1.363 GB, free: 36.64 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.216e-05/0.8591, allocations: 40.84 kB / 1.363 GB, free: 36.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.783e-05/0.8592, allocations: 35.94 kB / 1.363 GB, free: 36.57 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.8592, allocations: 0.5 kB / 1.363 GB, free: 36.57 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001608/0.8594, allocations: 124.8 kB / 1.363 GB, free: 36.44 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.8594, allocations: 8 kB / 1.363 GB, free: 36.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.8594, allocations: 0 / 1.363 GB, free: 36.43 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.8594, allocations: 1.5 kB / 1.363 GB, free: 36.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.8596, allocations: 28.7 kB / 1.363 GB, free: 36.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.8596, allocations: 0 / 1.363 GB, free: 36.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.8597, allocations: 20.45 kB / 1.363 GB, free: 36.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.8597, allocations: 8.594 kB / 1.363 GB, free: 36.38 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 4.178e-05/0.8598, allocations: 105.5 kB / 1.363 GB, free: 36.27 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.8598, allocations: 16.59 kB / 1.363 GB, free: 36.26 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.86, allocations: 128.2 kB / 1.363 GB, free: 36.13 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.86, allocations: 0.5312 kB / 1.363 GB, free: 36.13 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.86, allocations: 0.5 kB / 1.363 GB, free: 36.13 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.86, allocations: 4 kB / 1.363 GB, free: 36.13 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/0.8604, allocations: 471.4 kB / 1.364 GB, free: 35.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.8604, allocations: 0.875 kB / 1.364 GB, free: 35.62 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.8606, allocations: 32.91 kB / 1.364 GB, free: 35.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.8606, allocations: 5.062 kB / 1.364 GB, free: 35.58 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.8606, allocations: 4 kB / 1.364 GB, free: 35.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.8606, allocations: 0 / 1.364 GB, free: 35.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.8606, allocations: 4.812 kB / 1.364 GB, free: 35.57 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001666/0.8608, allocations: 267.1 kB / 1.364 GB, free: 35.28 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001845/0.861, allocations: 0.6322 MB / 1.365 GB, free: 34.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.861, allocations: 85.02 kB / 1.365 GB, free: 34.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.861, allocations: 1.188 kB / 1.365 GB, free: 34.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.8612, allocations: 29.88 kB / 1.365 GB, free: 34.47 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.8612, allocations: 8.844 kB / 1.365 GB, free: 34.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.8613, allocations: 4.562 kB / 1.365 GB, free: 34.46 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.103e-05/0.8613, allocations: 129.6 kB / 1.365 GB, free: 34.34 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007663/0.8621, allocations: 39.83 kB / 1.365 GB, free: 34.3 MB / 0.8855 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 (12): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 8.145e-05/0.8622, allocations: 114.9 kB / 1.365 GB, free: 34.18 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.8623, allocations: 83.88 kB / 1.365 GB, free: 34.09 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.8623, allocations: 0 / 1.365 GB, free: 34.09 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.019e-05/0.8624, allocations: 48.58 kB / 1.365 GB, free: 34.05 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.8626, allocations: 22.91 kB / 1.365 GB, free: 34.03 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.8631, allocations: 220.3 kB / 1.366 GB, free: 33.79 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.8633, allocations: 0.7588 MB / 1.366 GB, free: 33 MB / 0.8855 GB Notification: Performance of SimCode: time 2.41e-07/0.8633, allocations: 0.5312 kB / 1.366 GB, free: 33 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat does not exist to compare? outputFormat=mat