Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.AHU.Validation.AdsolairDatasheetSummer.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Airflow.AHU.Validation.AdsolairDatasheetSummer,fileNamePrefix="IDEAS_IDEAS_Airflow_AHU_Validation_AdsolairDatasheetSummer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.AHU.Validation.AdsolairDatasheetSummer,fileNamePrefix="IDEAS_IDEAS_Airflow_AHU_Validation_AdsolairDatasheetSummer",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/Complex 4.0.0+maint.om/package.mo): time 0.004325/0.004325, allocations: 177.4 kB / 7.454 MB, free: 2.145 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7636/0.7636, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001336, allocations: 93.36 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.5991/0.6005, allocations: 88.43 MB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.7757, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.658/5.433, allocations: 2.006 GB / 2.639 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/5.434, allocations: 83.27 kB / 2.639 GB, free: 231.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1353 * Number of variables: 1353 Notification: Performance of Generate backend data structure: time 38.24/43.67, allocations: 8.866 GB / 11.51 GB, free: 30.41 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/43.67, allocations: 12.19 kB / 11.51 GB, free: 30.41 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03163/43.71, allocations: 3.028 MB / 11.51 GB, free: 29.81 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05808/43.76, allocations: 10.52 MB / 11.52 GB, free: 28.14 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001221/43.77, allocations: 253.8 kB / 11.52 GB, free: 28.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005764/43.77, allocations: 336.8 kB / 11.52 GB, free: 28.09 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01973/43.79, allocations: 5.891 MB / 11.53 GB, free: 23.43 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02486/43.82, allocations: 6.307 MB / 11.53 GB, free: 17.88 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001737/43.82, allocations: 7.938 kB / 11.53 GB, free: 17.88 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001742/43.82, allocations: 17.62 kB / 11.53 GB, free: 17.86 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002605/43.82, allocations: 228.3 kB / 11.53 GB, free: 17.65 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9123/44.73, allocations: 31.94 MB / 11.56 GB, free: 87.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006603/44.74, allocations: 2.996 MB / 11.57 GB, free: 87.66 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004572/44.74, allocations: 2.47 MB / 11.57 GB, free: 87.62 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/44.74, allocations: 0.9391 MB / 11.57 GB, free: 86.68 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006667/44.75, allocations: 2.867 MB / 11.57 GB, free: 86.35 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=356): time 1.439e-05/44.75, allocations: 3.094 kB / 11.57 GB, free: 86.35 MB / 0.9636 GB Notification: Performance of matching and sorting (n=362): time 0.09135/44.84, allocations: 24.21 MB / 11.6 GB, free: 75.29 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003123/44.84, allocations: 0.7277 MB / 11.6 GB, free: 74.44 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01753/44.86, allocations: 5.552 MB / 11.6 GB, free: 74.01 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.002417/44.86, allocations: 44.62 kB / 11.6 GB, free: 73.98 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.004977/44.87, allocations: 2.213 MB / 11.6 GB, free: 73.19 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.003645/44.87, allocations: 1.169 MB / 11.6 GB, free: 72.57 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000648/44.87, allocations: 2.344 kB / 11.6 GB, free: 72.57 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003563/44.87, allocations: 494.7 kB / 11.61 GB, free: 72.26 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004126/44.87, allocations: 2.32 MB / 11.61 GB, free: 72.25 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006086/44.88, allocations: 3.798 MB / 11.61 GB, free: 70.55 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007649/44.89, allocations: 3.039 MB / 11.61 GB, free: 70.49 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.689e-05/44.89, allocations: 11.06 kB / 11.61 GB, free: 70.49 MB / 0.9636 GB Notification: Performance of matching and sorting (n=616) (initialization): time 0.02584/44.91, allocations: 7.238 MB / 11.62 GB, free: 69.93 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.003609/44.92, allocations: 17.59 MB / 11.64 GB, free: 67.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/44.92, allocations: 33.28 kB / 11.64 GB, free: 67.61 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002346/44.92, allocations: 0.5285 MB / 11.64 GB, free: 67.54 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009017/44.93, allocations: 1.199 MB / 11.64 GB, free: 67.53 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/44.94, allocations: 13.28 MB / 11.65 GB, free: 56.94 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01255/44.96, allocations: 0.5279 MB / 11.65 GB, free: 56.91 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001973/44.96, allocations: 301.8 kB / 11.65 GB, free: 56.91 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/44.96, allocations: 3.969 kB / 11.65 GB, free: 56.91 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01733/44.98, allocations: 6.138 MB / 11.66 GB, free: 56.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001183/44.98, allocations: 34.47 kB / 11.66 GB, free: 56.75 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002047/44.98, allocations: 0.5083 MB / 11.66 GB, free: 56.68 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007404/44.99, allocations: 1.189 MB / 11.66 GB, free: 56.68 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/45, allocations: 13.01 MB / 11.67 GB, free: 61.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/45.01, allocations: 488.7 kB / 11.67 GB, free: 61.72 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002254/45.01, allocations: 281.7 kB / 11.68 GB, free: 61.72 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.adsolair58.adsCon.onDelAdi.u,$PRE.adsolair58.adsCon.onDelAdi.t_next,$whenCondition3,adsolair58.adsCon.damPid.conPID.trigger,$PRE.adsolair58.adsCon.damPid.risingEdge.u,adsolair58.adsCon.damPid.risingEdge.u,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.adsolair58.adsCon.onAdiaExp.y,adsolair58.adsCon.onAdiaExp.y,$PRE.adsolair58.adsCon.onChiExp.y,adsolair58.adsCon.onChiExp.y,adsolair58.adsCon.onDelAdi.u,adsolair58.adsCon.onDelAdi.y,adsolair58.adsCon.onDelAdi.delaySignal,adsolair58.adsCon.onDelAdi.t_next,adsolair58.adsCon.damPid.revActIn,adsolair58.adsCon.chiPid.conPID.trigger,$PRE.adsolair58.adsCon.chiPid.risingEdge.u,adsolair58.adsCon.chiPid.risingEdge.u,$PRE.adsolair58.adsCon.damMax.y,adsolair58.adsCon.damMax.y,adsolair58.com.onInt.u,$PRE.adsolair58.com.hystMax.y,adsolair58.com.hystMax.y,$PRE.adsolair58.com.hystMin.y,adsolair58.com.hystMin.y,adsolair58.com.and1.u1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (561): * Single equations (assignments): 541 * Array equations: 7 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 7 {1 2,1 2,1 4,1 2,1 1,1 1,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.00238/45.02, allocations: 309.2 kB / 11.68 GB, free: 61.57 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002451/45.02, allocations: 0.6975 MB / 11.68 GB, free: 61.2 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01562/45.04, allocations: 5.45 MB / 11.68 GB, free: 60.9 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-05/45.04, allocations: 43.16 kB / 11.68 GB, free: 60.9 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.861e-05/45.04, allocations: 8.281 kB / 11.68 GB, free: 60.89 MB / 0.9948 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:6945:3-6945:155:writable] Error: Internal error Stack overflow in BackendDAEUtil.getSolvedSystem... [bt] #1 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(mmc_setStacktraceMessages_threadData) [bt] #2 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ComponentReference.hashSubscripts) [bt] #3...6 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ComponentReference.hashComponentRef) [bt] #7 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Expression.hashExp) [bt] #8 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Expression.hashExpMod) [bt] #9 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(boxptr_Expression_hashExpMod) [bt] #10 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BaseHashTable.hasKeyIndex) [bt] #11 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BaseHashTable.get) [bt] #12...1024 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendDAEOptimize.semiLinearOptimize3) [bt] #1025 [...] Error: Internal error SimCode: The model IDEAS.Airflow.AHU.Validation.AdsolairDatasheetSummer could not be translated to FMU