Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Airflow_AHU_Validation_AdsolairDatasheetSummer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.AHU.Validation.AdsolairDatasheetSummer,fileNamePrefix="IDEAS_dev_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.004569/0.004569, allocations: 184 kB / 7.462 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7271/0.7271, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.623/1.623, allocations: 221.3 MB / 395 MB, free: 10.22 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.0011/0.0011, allocations: 94.64 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.4568/0.4579, allocations: 88.43 MB / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.6385, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.412/5.051, allocations: 2.006 GB / 2.639 GB, free: 236.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/5.051, allocations: 83.27 kB / 2.639 GB, free: 236.1 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.27/43.32, allocations: 8.866 GB / 11.51 GB, free: 34.58 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/43.32, allocations: 10.25 kB / 11.51 GB, free: 34.58 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02964/43.35, allocations: 3.024 MB / 11.51 GB, free: 34.07 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04415/43.39, allocations: 10.53 MB / 11.52 GB, free: 32.79 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00072/43.39, allocations: 254.6 kB / 11.52 GB, free: 32.74 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003685/43.4, allocations: 341.7 kB / 11.52 GB, free: 32.74 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01908/43.41, allocations: 5.885 MB / 11.53 GB, free: 32.71 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03279/43.45, allocations: 6.303 MB / 11.53 GB, free: 32.05 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004085/43.45, allocations: 10.53 kB / 11.53 GB, free: 32.05 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003523/43.45, allocations: 12.22 kB / 11.53 GB, free: 32.05 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000317/43.45, allocations: 226.3 kB / 11.53 GB, free: 32.04 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08471/43.54, allocations: 31.95 MB / 11.56 GB, free: 19.57 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007906/43.54, allocations: 2.995 MB / 11.57 GB, free: 18.65 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006075/43.55, allocations: 2.468 MB / 11.57 GB, free: 17.6 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001939/43.55, allocations: 0.9435 MB / 11.57 GB, free: 16.64 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007638/43.56, allocations: 2.876 MB / 11.57 GB, free: 15.34 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=356): time 1.289e-05/43.56, allocations: 0 / 11.57 GB, free: 15.34 MB / 0.9636 GB Notification: Performance of matching and sorting (n=362): time 0.1178/43.68, allocations: 24.2 MB / 11.6 GB, free: 460 kB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004754/43.68, allocations: 0.7301 MB / 11.6 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02408/43.7, allocations: 5.55 MB / 11.6 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.00225/43.71, allocations: 41.7 kB / 11.6 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.005816/43.71, allocations: 2.222 MB / 11.6 GB, free: 10.75 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.004709/43.72, allocations: 1.165 MB / 11.6 GB, free: 9.676 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/43.72, allocations: 1.938 kB / 11.6 GB, free: 9.676 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0006108/43.72, allocations: 0.4925 MB / 11.61 GB, free: 9.234 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005689/43.72, allocations: 2.321 MB / 11.61 GB, free: 7.059 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007595/43.73, allocations: 3.801 MB / 11.61 GB, free: 2.891 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009285/43.74, allocations: 3.03 MB / 11.61 GB, free: 348 kB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.818e-05/43.74, allocations: 8 kB / 11.61 GB, free: 340 kB / 0.9792 GB Notification: Performance of matching and sorting (n=616) (initialization): time 0.9402/44.68, allocations: 7.951 MB / 11.62 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.003986/44.68, allocations: 17.59 MB / 11.64 GB, free: 82.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/44.68, allocations: 37.59 kB / 11.64 GB, free: 82.05 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002186/44.69, allocations: 0.5309 MB / 11.64 GB, free: 81.98 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008252/44.7, allocations: 1.194 MB / 11.64 GB, free: 81.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/44.71, allocations: 13.26 MB / 11.65 GB, free: 71.51 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01513/44.72, allocations: 0.5329 MB / 11.65 GB, free: 71.51 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002739/44.73, allocations: 304.8 kB / 11.65 GB, free: 71.51 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/44.73, allocations: 3.5 kB / 11.65 GB, free: 71.51 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02493/44.75, allocations: 6.134 MB / 11.66 GB, free: 71.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002372/44.75, allocations: 42.97 kB / 11.66 GB, free: 71.36 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002381/44.75, allocations: 0.5094 MB / 11.66 GB, free: 71.29 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00864/44.76, allocations: 1.192 MB / 11.66 GB, free: 71.29 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/44.77, allocations: 13 MB / 11.68 GB, free: 76.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01107/44.79, allocations: 497.9 kB / 11.68 GB, free: 76.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002392/44.79, allocations: 280.1 kB / 11.68 GB, free: 76.5 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.002503/44.79, allocations: 295.8 kB / 11.68 GB, free: 76.36 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002943/44.79, allocations: 0.6963 MB / 11.68 GB, free: 76.36 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01717/44.81, allocations: 5.458 MB / 11.68 GB, free: 76.07 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.629e-05/44.81, allocations: 37.34 kB / 11.68 GB, free: 76.07 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.087e-05/44.81, allocations: 3.344 kB / 11.68 GB, free: 76.07 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