Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.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.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",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.072/2.072, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001338/0.001338, allocations: 178.1 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.413/1.413, allocations: 221.4 MB / 0.7863 GB, free: 13.64 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.0009403/0.0009404, allocations: 91.55 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5701/0.5711, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.8402, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.634/4.474, allocations: 1.736 GB / 2.947 GB, free: 110.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/4.475, allocations: 94.73 kB / 2.948 GB, free: 110 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: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.1784/4.653, allocations: 80.45 MB / 3.026 GB, free: 34.95 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/4.653, allocations: 8 kB / 3.026 GB, free: 34.94 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008577/4.662, allocations: 1.528 MB / 3.028 GB, free: 33.41 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/4.664, allocations: 0.8287 MB / 3.028 GB, free: 32.54 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.667e-05/4.664, allocations: 39.91 kB / 3.028 GB, free: 32.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003942/4.664, allocations: 68 kB / 3.029 GB, free: 32.43 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003453/4.668, allocations: 1.933 MB / 3.03 GB, free: 30.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/4.67, allocations: 1.43 MB / 3.032 GB, free: 29 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/4.67, allocations: 3.938 kB / 3.032 GB, free: 29 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/4.671, allocations: 8 kB / 3.032 GB, free: 28.99 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/4.671, allocations: 28 kB / 3.032 GB, free: 28.96 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007993/4.679, allocations: 4.29 MB / 3.036 GB, free: 24.59 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002386/4.681, allocations: 1.811 MB / 3.038 GB, free: 22.75 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008938/4.682, allocations: 0.6939 MB / 3.039 GB, free: 22.06 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004058/4.682, allocations: 0.6022 MB / 3.039 GB, free: 21.33 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/4.684, allocations: 0.9163 MB / 3.04 GB, free: 20.39 MB / 1.151 GB Notification: Performance of pre-optimization done (n=120): time 4.238e-06/4.684, allocations: 0 / 3.04 GB, free: 20.39 MB / 1.151 GB Notification: Performance of matching and sorting (n=120): time 0.003385/4.687, allocations: 1.53 MB / 3.041 GB, free: 18.85 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/4.687, allocations: 248.3 kB / 3.042 GB, free: 18.55 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007362/4.688, allocations: 0.5661 MB / 3.042 GB, free: 17.98 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001173/4.688, allocations: 33.64 kB / 3.042 GB, free: 17.95 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/4.688, allocations: 364.4 kB / 3.043 GB, free: 17.58 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000306/4.689, allocations: 386.2 kB / 3.043 GB, free: 17.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.763e-05/4.689, allocations: 0 / 3.043 GB, free: 17.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001372/4.689, allocations: 390.8 kB / 3.043 GB, free: 16.81 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008421/4.69, allocations: 0.5961 MB / 3.044 GB, free: 16.21 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009573/4.691, allocations: 0.7321 MB / 3.045 GB, free: 15.44 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/4.692, allocations: 0.6431 MB / 3.045 GB, free: 14.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/4.692, allocations: 0 / 3.045 GB, free: 14.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003275/4.695, allocations: 1.545 MB / 3.047 GB, free: 13.24 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/4.695, allocations: 4 kB / 3.047 GB, free: 13.24 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/4.695, allocations: 4.031 kB / 3.047 GB, free: 13.23 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006657/4.696, allocations: 88.78 kB / 3.047 GB, free: 13.14 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/4.698, allocations: 491.3 kB / 3.047 GB, free: 12.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/4.7, allocations: 1.476 MB / 3.049 GB, free: 11.06 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/4.702, allocations: 331 kB / 3.049 GB, free: 10.74 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/4.702, allocations: 51.94 kB / 3.049 GB, free: 10.69 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (125): * Single equations (assignments): 124 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002795/4.703, allocations: 124.7 kB / 3.049 GB, free: 10.56 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/4.703, allocations: 90.88 kB / 3.049 GB, free: 10.47 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004245/4.707, allocations: 2.02 MB / 3.051 GB, free: 8.434 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/4.707, allocations: 16 kB / 3.051 GB, free: 8.418 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/4.707, allocations: 0 / 3.051 GB, free: 8.418 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/4.707, allocations: 3.984 kB / 3.051 GB, free: 8.414 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005354/4.713, allocations: 3.438 MB / 3.055 GB, free: 4.926 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/4.713, allocations: 0 / 3.055 GB, free: 4.926 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002394/4.715, allocations: 0.4915 MB / 3.055 GB, free: 4.434 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005265/4.716, allocations: 88.77 kB / 3.055 GB, free: 4.344 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001492/4.716, allocations: 35.86 kB / 3.055 GB, free: 4.309 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/4.717, allocations: 1.494 MB / 3.057 GB, free: 2.699 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/4.717, allocations: 0 / 3.057 GB, free: 2.699 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00325/4.721, allocations: 1.732 MB / 3.059 GB, free: 0.9453 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.4475/5.168, allocations: 2.142 MB / 3.061 GB, free: 0.5107 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009886/5.169, allocations: 416 kB / 3.061 GB, free: 0.5106 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/5.169, allocations: 8.344 kB / 3.061 GB, free: 0.5106 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002084/5.172, allocations: 292 kB / 3.061 GB, free: 0.5106 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/5.172, allocations: 79.84 kB / 3.061 GB, free: 0.5106 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/5.172, allocations: 55.2 kB / 3.061 GB, free: 0.5106 GB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006235/5.173, allocations: 470.7 kB / 3.062 GB, free: 0.5105 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.002344/5.175, allocations: 0.5682 MB / 3.062 GB, free: 0.5105 GB / 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 (134): * Single equations (assignments): 131 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001835/5.177, allocations: 1.088 MB / 3.063 GB, free: 0.5104 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002584/5.179, allocations: 1.567 MB / 3.065 GB, free: 0.5103 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/5.179, allocations: 3.75 kB / 3.065 GB, free: 0.5103 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/5.181, allocations: 0.9232 MB / 3.066 GB, free: 0.5102 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/5.182, allocations: 220.4 kB / 3.066 GB, free: 0.5101 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005254/5.187, allocations: 2.128 MB / 3.068 GB, free: 0.5098 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/5.189, allocations: 1.357 MB / 3.07 GB, free: 0.5091 GB / 1.151 GB Notification: Performance of SimCode: time 1.172e-06/5.189, allocations: 0 / 3.07 GB, free: 0.5091 GB / 1.151 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat does not exist to compare? outputFormat=mat