Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",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.804/1.804, allocations: 390.4 MB / 397.7 MB, free: 11.33 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.0009388/0.0009388, allocations: 181.3 kB / 490.8 MB, free: 1.984 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.135/1.135, allocations: 221.3 MB / 0.7863 GB, free: 13.71 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.0008592/0.0008593, allocations: 94.8 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4126/0.4135, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.5928, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.584/3.177, allocations: 1.731 GB / 2.942 GB, free: 137.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/3.177, allocations: 87.95 kB / 2.942 GB, free: 137.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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.06774/3.245, allocations: 30.83 MB / 2.972 GB, free: 106.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/3.245, allocations: 8 kB / 2.972 GB, free: 106.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000265/3.245, allocations: 106.8 kB / 2.972 GB, free: 106.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007457/3.246, allocations: 0.5687 MB / 2.973 GB, free: 105.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/3.246, allocations: 23.98 kB / 2.973 GB, free: 105.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.822e-05/3.246, allocations: 39.98 kB / 2.973 GB, free: 105.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001028/3.247, allocations: 0.8728 MB / 2.974 GB, free: 104.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007584/3.248, allocations: 0.5969 MB / 2.975 GB, free: 103.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/3.248, allocations: 4 kB / 2.975 GB, free: 103.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.071e-05/3.248, allocations: 3.906 kB / 2.975 GB, free: 103.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/3.248, allocations: 16 kB / 2.975 GB, free: 103.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/3.25, allocations: 2.258 MB / 2.977 GB, free: 101.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006741/3.251, allocations: 0.5518 MB / 2.977 GB, free: 101 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/3.251, allocations: 200 kB / 2.977 GB, free: 100.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.642e-05/3.251, allocations: 36.52 kB / 2.977 GB, free: 100.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003391/3.251, allocations: 316.3 kB / 2.978 GB, free: 100.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 1.803e-06/3.251, allocations: 0 / 2.978 GB, free: 100.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.0007312/3.252, allocations: 487.8 kB / 2.978 GB, free: 99.97 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/3.252, allocations: 303.2 kB / 2.979 GB, free: 99.61 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004804/3.253, allocations: 0.4983 MB / 2.979 GB, free: 99.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/3.253, allocations: 25.7 kB / 2.979 GB, free: 99.07 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/3.253, allocations: 264.3 kB / 2.979 GB, free: 98.81 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.097e-05/3.253, allocations: 193.1 kB / 2.979 GB, free: 98.62 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.008e-05/3.253, allocations: 0 / 2.979 GB, free: 98.62 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.066e-05/3.253, allocations: 374.8 kB / 2.98 GB, free: 98.24 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/3.253, allocations: 153.3 kB / 2.98 GB, free: 98.09 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/3.254, allocations: 274.1 kB / 2.98 GB, free: 97.79 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/3.254, allocations: 201.3 kB / 2.98 GB, free: 97.59 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/3.254, allocations: 0 / 2.98 GB, free: 97.59 MB / 1.151 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006616/3.255, allocations: 0.5036 MB / 2.981 GB, free: 97.08 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/3.255, allocations: 4 kB / 2.981 GB, free: 97.08 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/3.255, allocations: 4 kB / 2.981 GB, free: 97.07 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/3.255, allocations: 4 kB / 2.981 GB, free: 97.07 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/3.255, allocations: 119.7 kB / 2.981 GB, free: 96.95 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/3.255, allocations: 4 kB / 2.981 GB, free: 96.95 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/3.255, allocations: 59.69 kB / 2.981 GB, free: 96.89 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/3.255, allocations: 23.98 kB / 2.981 GB, free: 96.87 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (67): * Single equations (assignments): 67 * 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 0.0001047/3.256, allocations: 112.9 kB / 2.981 GB, free: 96.75 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.809e-05/3.256, allocations: 71.14 kB / 2.981 GB, free: 96.68 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/3.257, allocations: 0.7293 MB / 2.982 GB, free: 95.93 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/3.257, allocations: 8 kB / 2.982 GB, free: 95.93 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/3.257, allocations: 0 / 2.982 GB, free: 95.93 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/3.257, allocations: 7.984 kB / 2.982 GB, free: 95.92 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000687/3.258, allocations: 0.8432 MB / 2.983 GB, free: 95.03 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/3.258, allocations: 7.938 kB / 2.983 GB, free: 95.02 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/3.258, allocations: 111.9 kB / 2.983 GB, free: 94.91 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/3.258, allocations: 7.938 kB / 2.983 GB, free: 94.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/3.258, allocations: 15.98 kB / 2.983 GB, free: 94.89 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/3.258, allocations: 4 kB / 2.983 GB, free: 94.88 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/3.258, allocations: 0 / 2.983 GB, free: 94.88 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006775/3.259, allocations: 0.5954 MB / 2.984 GB, free: 94.26 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007235/3.259, allocations: 0.9863 MB / 2.985 GB, free: 93.24 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000251/3.26, allocations: 256 kB / 2.985 GB, free: 92.97 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/3.26, allocations: 8 kB / 2.985 GB, free: 92.96 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/3.26, allocations: 51.95 kB / 2.985 GB, free: 92.91 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/3.26, allocations: 44.58 kB / 2.985 GB, free: 92.87 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.172e-05/3.26, allocations: 27.98 kB / 2.985 GB, free: 92.84 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003325/3.261, allocations: 402.9 kB / 2.985 GB, free: 92.45 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001166/3.262, allocations: 271.3 kB / 2.986 GB, free: 92.19 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * 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.0009137/3.263, allocations: 0.5047 MB / 2.986 GB, free: 91.79 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005546/3.263, allocations: 446.2 kB / 2.986 GB, free: 91.35 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/3.263, allocations: 4 kB / 2.987 GB, free: 91.35 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002819/3.264, allocations: 266.4 kB / 2.987 GB, free: 91.08 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007612/3.264, allocations: 194.6 kB / 2.987 GB, free: 90.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/3.266, allocations: 0.9918 MB / 2.988 GB, free: 89.88 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005201/3.266, allocations: 1.061 MB / 2.989 GB, free: 88.79 MB / 1.151 GB Notification: Performance of SimCode: time 2.41e-07/3.266, allocations: 4 kB / 2.989 GB, free: 88.79 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_fmu --startTime=3.09924e+07 --stopTime=3.186e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary_res.mat does not exist to compare? outputFormat=mat