Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.839/1.839, 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.0009083/0.0009083, allocations: 177.3 kB / 490.8 MB, free: 1.93 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.165/1.165, allocations: 221.3 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.0008871/0.0008873, allocations: 82.73 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4406/0.4415, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.6287, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.599/3.228, allocations: 1.732 GB / 2.943 GB, free: 147.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/3.228, allocations: 83.95 kB / 2.943 GB, free: 147.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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.1603/3.389, allocations: 82.31 MB / 3.024 GB, free: 64.47 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/3.389, allocations: 8 kB / 3.024 GB, free: 64.46 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/3.39, allocations: 234.1 kB / 3.024 GB, free: 64.23 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/3.391, allocations: 0.7094 MB / 3.025 GB, free: 63.48 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/3.391, allocations: 40 kB / 3.025 GB, free: 63.44 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/3.391, allocations: 71.91 kB / 3.025 GB, free: 63.37 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0015/3.393, allocations: 1.129 MB / 3.026 GB, free: 62.24 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/3.394, allocations: 0.9303 MB / 3.027 GB, free: 61.25 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/3.394, allocations: 0 / 3.027 GB, free: 61.25 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-05/3.394, allocations: 4 kB / 3.027 GB, free: 61.24 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/3.394, allocations: 28 kB / 3.027 GB, free: 61.21 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003746/3.398, allocations: 2.86 MB / 3.03 GB, free: 58.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008617/3.399, allocations: 0.6842 MB / 3.03 GB, free: 57.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/3.399, allocations: 254.8 kB / 3.031 GB, free: 57.35 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.581e-05/3.399, allocations: 32.69 kB / 3.031 GB, free: 57.32 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004732/3.4, allocations: 398 kB / 3.031 GB, free: 56.91 MB / 1.151 GB Notification: Performance of pre-optimization done (n=78): time 2.084e-06/3.4, allocations: 0 / 3.031 GB, free: 56.91 MB / 1.151 GB Notification: Performance of matching and sorting (n=78): time 0.001455/3.401, allocations: 0.6755 MB / 3.032 GB, free: 56.22 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/3.401, allocations: 248 kB / 3.032 GB, free: 55.93 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005555/3.402, allocations: 0.5504 MB / 3.032 GB, free: 55.37 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/3.402, allocations: 25.7 kB / 3.032 GB, free: 55.34 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/3.402, allocations: 419.3 kB / 3.033 GB, free: 54.92 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/3.402, allocations: 244.3 kB / 3.033 GB, free: 54.68 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/3.402, allocations: 0 / 3.033 GB, free: 54.68 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.113e-05/3.402, allocations: 382.8 kB / 3.033 GB, free: 54.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/3.402, allocations: 209.5 kB / 3.034 GB, free: 54.09 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/3.403, allocations: 319.5 kB / 3.034 GB, free: 53.75 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/3.403, allocations: 260.5 kB / 3.034 GB, free: 53.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/3.403, allocations: 0 / 3.034 GB, free: 53.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001315/3.404, allocations: 0.7054 MB / 3.035 GB, free: 52.78 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/3.404, allocations: 12.05 kB / 3.035 GB, free: 52.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/3.404, allocations: 0 / 3.035 GB, free: 52.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005729/3.405, allocations: 80.78 kB / 3.035 GB, free: 52.69 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006059/3.406, allocations: 155.7 kB / 3.035 GB, free: 52.54 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/3.407, allocations: 1.453 MB / 3.037 GB, free: 50.96 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005008/3.408, allocations: 71.45 kB / 3.037 GB, free: 50.89 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/3.408, allocations: 31.98 kB / 3.037 GB, free: 50.86 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 (83): * Single equations (assignments): 82 * 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.0001247/3.408, allocations: 120.8 kB / 3.037 GB, free: 50.73 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/3.408, allocations: 82.97 kB / 3.037 GB, free: 50.65 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/3.41, allocations: 0.9456 MB / 3.038 GB, free: 49.69 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/3.41, allocations: 8 kB / 3.038 GB, free: 49.68 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/3.41, allocations: 3.906 kB / 3.038 GB, free: 49.68 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/3.41, allocations: 11.97 kB / 3.038 GB, free: 49.67 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007143/3.411, allocations: 0.849 MB / 3.039 GB, free: 48.78 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/3.411, allocations: 0 / 3.039 GB, free: 48.78 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005784/3.411, allocations: 155.8 kB / 3.039 GB, free: 48.63 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004732/3.412, allocations: 84.77 kB / 3.039 GB, free: 48.54 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.833e-05/3.412, allocations: 15.98 kB / 3.039 GB, free: 48.53 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/3.413, allocations: 1.469 MB / 3.04 GB, free: 46.93 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/3.413, allocations: 0 / 3.04 GB, free: 46.93 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001288/3.414, allocations: 0.7841 MB / 3.041 GB, free: 46.13 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001367/3.416, allocations: 1.202 MB / 3.042 GB, free: 44.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002922/3.416, allocations: 287.9 kB / 3.042 GB, free: 44.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/3.416, allocations: 0 / 3.042 GB, free: 44.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000524/3.417, allocations: 55.86 kB / 3.043 GB, free: 44.55 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.095e-05/3.417, allocations: 60.67 kB / 3.043 GB, free: 44.49 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.854e-05/3.417, allocations: 27.98 kB / 3.043 GB, free: 44.46 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003768/3.417, allocations: 455.1 kB / 3.043 GB, free: 44.02 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001447/3.419, allocations: 458.6 kB / 3.043 GB, free: 43.57 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.001262/3.42, allocations: 1.055 MB / 3.045 GB, free: 42.62 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009458/3.421, allocations: 0.6865 MB / 3.045 GB, free: 41.93 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/3.421, allocations: 0 / 3.045 GB, free: 41.93 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005649/3.421, allocations: 472.4 kB / 3.046 GB, free: 41.45 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008483/3.422, allocations: 210.8 kB / 3.046 GB, free: 41.25 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/3.425, allocations: 1.549 MB / 3.047 GB, free: 39.67 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000665/3.426, allocations: 1.215 MB / 3.049 GB, free: 38.42 MB / 1.151 GB Notification: Performance of SimCode: time 3.01e-07/3.426, allocations: 0 / 3.049 GB, free: 38.42 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat does not exist to compare? outputFormat=mat