Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001114, allocations: 110.3 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7925/0.7925, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 64.59 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1619, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.653/0.815, allocations: 166.8 MB / 0.8232 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02167/0.8367, allocations: 16.82 MB / 0.8396 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.8388, allocations: 29.16 kB / 0.8397 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.8405, allocations: 0.5134 MB / 0.8402 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005277/0.8458, allocations: 1.507 MB / 0.8417 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003586/0.8494, allocations: 1.276 MB / 0.8429 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003429/0.8529, allocations: 2.364 MB / 0.8452 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002335/0.8552, allocations: 1.893 MB / 0.8471 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003662/0.8589, allocations: 1.319 MB / 0.8483 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.8604, allocations: 0.8985 MB / 0.8492 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005108/0.8609, allocations: 199.9 kB / 0.8494 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003126/0.8641, allocations: 1.406 MB / 0.8508 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006222/0.8647, allocations: 0.5318 MB / 0.8513 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.8657, allocations: 0.9372 MB / 0.8522 GB, free: 232 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00427/0.87, allocations: 2.929 MB / 0.8551 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.87, allocations: 0 / 0.8551 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.064e-06/0.87, allocations: 0 / 0.8551 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.774e-05/0.8701, allocations: 0 / 0.8551 GB, free: 14.16 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.003583/0.8737, allocations: 2.151 MB / 0.8572 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.8737, allocations: 12.03 kB / 0.8572 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003541/0.8773, allocations: 0.4972 MB / 0.8577 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.8789, allocations: 1.082 MB / 0.8587 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.178e-05/0.879, allocations: 123.3 kB / 0.8589 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.8793, allocations: 163.9 kB / 0.859 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003235/0.8825, allocations: 1.78 MB / 0.8607 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.8825, allocations: 0 / 0.8607 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/0.8827, allocations: 71.98 kB / 0.8608 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.199e-05/0.8828, allocations: 40 kB / 0.8609 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003256/0.886, allocations: 1.827 MB / 0.8626 GB, free: 6.656 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007812/0.8939, allocations: 4.977 MB / 0.8675 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002878/0.8968, allocations: 1.664 MB / 0.8691 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.8979, allocations: 0.628 MB / 0.8697 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009372/0.8988, allocations: 0.8078 MB / 0.8705 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001577/0.9004, allocations: 0.8177 MB / 0.8713 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 2.886e-06/0.9004, allocations: 0 / 0.8713 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.005992/0.9064, allocations: 2.431 MB / 0.8737 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.9066, allocations: 193.2 kB / 0.8739 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.9077, allocations: 0.7984 MB / 0.8747 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.9079, allocations: 53.7 kB / 0.8747 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005394/0.9084, allocations: 0.6172 MB / 0.8753 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004178/0.9089, allocations: 461.2 kB / 0.8758 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003798/0.9093, allocations: 238.8 kB / 0.876 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.9094, allocations: 357.9 kB / 0.8763 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009546/0.9104, allocations: 466.3 kB / 0.8768 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.9116, allocations: 0.6073 MB / 0.8774 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002065/0.9136, allocations: 1.068 MB / 0.8784 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.9137, allocations: 0 / 0.8784 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003453/0.9171, allocations: 1.464 MB / 0.8798 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.9171, allocations: 7.938 kB / 0.8798 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.9172, allocations: 4 kB / 0.8798 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008839/0.9181, allocations: 196.2 kB / 0.88 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.9195, allocations: 315.6 kB / 0.8803 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006253/0.9258, allocations: 7.285 MB / 0.8874 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.9272, allocations: 146.6 kB / 0.8876 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.9273, allocations: 51.95 kB / 0.8876 GB, free: 11.55 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008444/0.9282, allocations: 373.7 kB / 0.888 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003168/0.9285, allocations: 118.6 kB / 0.8881 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004033/0.9325, allocations: 1.74 MB / 0.8898 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.9326, allocations: 12 kB / 0.8898 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.9326, allocations: 4 kB / 0.8898 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.9326, allocations: 11.97 kB / 0.8898 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005685/0.9383, allocations: 3.253 MB / 0.893 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.9383, allocations: 0 / 0.893 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/0.9397, allocations: 311.5 kB / 0.8933 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007311/0.9405, allocations: 184.1 kB / 0.8935 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.542e-05/0.9406, allocations: 39.97 kB / 0.8935 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005901/0.9465, allocations: 7.31 MB / 0.9007 GB, free: 13.37 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.9465, allocations: 3.938 kB / 0.9007 GB, free: 13.37 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003789/0.9503, allocations: 1.611 MB / 0.9022 GB, free: 11.72 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007067/0.951, allocations: 387.1 kB / 0.9026 GB, free: 11.32 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.9512, allocations: 31.98 kB / 0.9026 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.9523, allocations: 80.95 kB / 0.9027 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/0.9525, allocations: 109.2 kB / 0.9028 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/0.9527, allocations: 67.95 kB / 0.9029 GB, free: 11.04 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007834/0.9535, allocations: 0.5459 MB / 0.9034 GB, free: 10.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9535, allocations: 0 / 0.9034 GB, free: 10.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001584/0.9551, allocations: 0.5609 MB / 0.904 GB, free: 9.938 MB / 0.67 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00172/0.9568, allocations: 0.7207 MB / 0.9047 GB, free: 9.441 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003303/0.9601, allocations: 1.785 MB / 0.9064 GB, free: 7.59 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.9601, allocations: 4.734 kB / 0.9064 GB, free: 7.586 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001978/0.9621, allocations: 1.258 MB / 0.9076 GB, free: 6.266 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/0.9645, allocations: 0.4937 MB / 0.9081 GB, free: 5.801 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006116/0.9706, allocations: 2.82 MB / 0.9109 GB, free: 2.949 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008785/0.9715, allocations: 1.276 MB / 0.9121 GB, free: 1.641 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000653/0.9722, allocations: 163.3 kB / 0.9123 GB, free: 1.48 MB / 0.67 GB Notification: Performance of SimCode: time 5.51e-07/0.9722, allocations: 4 kB / 0.9123 GB, free: 1.477 MB / 0.67 GB Notification: Performance of Templates: time 0.06157/1.034, allocations: 54.9 MB / 0.9659 GB, free: 10.61 MB / 0.7325 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.makefile make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRiseCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRiseCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRiseCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRiseFunctions.cpp:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources/getTimeSpan.c:27:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppIDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRiseCalcHelperMain.o] Error 1