Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 105.2 kB / 16.41 MB, free: 6.512 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.001259/0.001259, allocations: 181.8 kB / 17.34 MB, free: 5.738 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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8474/0.8474, allocations: 135.2 MB / 426.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 66.33 kB / 0.5863 GB, free: 21.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1918, allocations: 80.94 MB / 0.6654 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.6442/0.836, allocations: 167.4 MB / 0.8288 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02411/0.8601, allocations: 17.14 MB / 0.8455 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/0.8618, allocations: 29.72 kB / 0.8456 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001907/0.8637, allocations: 0.5428 MB / 0.8461 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005681/0.8694, allocations: 1.673 MB / 0.8477 GB, free: 464 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004179/0.8736, allocations: 1.389 MB / 0.8491 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004957/0.8785, allocations: 2.524 MB / 0.8516 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004138/0.8826, allocations: 1.635 MB / 0.8532 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006661/0.8893, allocations: 1.398 MB / 0.8545 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00268/0.892, allocations: 1.023 MB / 0.8555 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0007662/0.8928, allocations: 211.9 kB / 0.8557 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004975/0.8977, allocations: 1.542 MB / 0.8572 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.8991, allocations: 0.7626 MB / 0.858 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002242/0.9013, allocations: 1.121 MB / 0.8591 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.9116, allocations: 3.424 MB / 0.8624 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.333e-05/0.9116, allocations: 3.984 kB / 0.8624 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9116, allocations: 0 / 0.8624 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.662e-05/0.9117, allocations: 0 / 0.8624 GB, free: 5.684 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.009436/0.9211, allocations: 2.697 MB / 0.8651 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.9212, allocations: 9.109 kB / 0.8651 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007609/0.9288, allocations: 0.5565 MB / 0.8656 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005572/0.9344, allocations: 1.604 MB / 0.8672 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003245/0.9347, allocations: 123.3 kB / 0.8673 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006863/0.9354, allocations: 171.9 kB / 0.8675 GB, free: 416 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007883/0.9432, allocations: 1.88 MB / 0.8693 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-05/0.9433, allocations: 0 / 0.8693 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003814/0.9437, allocations: 68 kB / 0.8694 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.709e-05/0.9438, allocations: 40 kB / 0.8694 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007228/0.951, allocations: 2.038 MB / 0.8714 GB, free: 12.32 MB / 0.6387 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.0187/0.9697, allocations: 5.521 MB / 0.8768 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00677/0.9765, allocations: 1.923 MB / 0.8787 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002607/0.9791, allocations: 0.6787 MB / 0.8793 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/0.9804, allocations: 429.7 kB / 0.8797 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003444/0.9838, allocations: 0.9271 MB / 0.8806 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 6.011e-06/0.9838, allocations: 0 / 0.8806 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.01305/0.9969, allocations: 2.833 MB / 0.8834 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002414/0.9971, allocations: 205.2 kB / 0.8836 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005458/1.003, allocations: 1.734 MB / 0.8853 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0006131/1.003, allocations: 53.7 kB / 0.8853 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001565/1.005, allocations: 0.8203 MB / 0.8861 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001091/1.006, allocations: 483.8 kB / 0.8866 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001322/1.007, allocations: 238.8 kB / 0.8868 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000358/1.008, allocations: 353.9 kB / 0.8872 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002495/1.01, allocations: 0.5647 MB / 0.8877 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002686/1.013, allocations: 0.7623 MB / 0.8885 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004825/1.018, allocations: 1.279 MB / 0.8897 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/1.018, allocations: 0 / 0.8897 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.007604/1.025, allocations: 1.73 MB / 0.8914 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/1.025, allocations: 16.03 kB / 0.8914 GB, free: 7.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.025, allocations: 0 / 0.8914 GB, free: 7.082 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001793/1.027, allocations: 212.1 kB / 0.8916 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00292/1.03, allocations: 323.5 kB / 0.8919 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/1.042, allocations: 7.313 MB / 0.8991 GB, free: 14.53 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/1.044, allocations: 155.2 kB / 0.8992 GB, free: 14.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002678/1.045, allocations: 55.95 kB / 0.8993 GB, free: 14.32 MB / 0.67 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 (140): * Single equations (assignments): 135 * 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.001593/1.046, allocations: 477.4 kB / 0.8997 GB, free: 13.85 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007241/1.047, allocations: 178.8 kB / 0.8999 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007955/1.055, allocations: 2.03 MB / 0.9019 GB, free: 11.61 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/1.055, allocations: 16 kB / 0.9019 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.055, allocations: 0 / 0.9019 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-05/1.055, allocations: 7.969 kB / 0.9019 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01284/1.068, allocations: 3.793 MB / 0.9056 GB, free: 7.711 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/1.068, allocations: 0 / 0.9056 GB, free: 7.711 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002885/1.071, allocations: 303.6 kB / 0.9059 GB, free: 7.414 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001676/1.072, allocations: 204.1 kB / 0.9061 GB, free: 7.199 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002194/1.073, allocations: 43.91 kB / 0.9061 GB, free: 7.156 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/1.084, allocations: 7.352 MB / 0.9133 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.084, allocations: 0 / 0.9133 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007786/1.092, allocations: 1.899 MB / 0.9152 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/1.094, allocations: 459.3 kB / 0.9156 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004591/1.094, allocations: 28 kB / 0.9156 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002187/1.096, allocations: 93.44 kB / 0.9157 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003975/1.097, allocations: 101.2 kB / 0.9158 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002927/1.097, allocations: 71.94 kB / 0.9159 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003311/1.1, allocations: 1.244 MB / 0.9171 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.71e-07/1.1, allocations: 0 / 0.9171 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003192/1.103, allocations: 0.6507 MB / 0.9177 GB, free: 10.51 MB / 0.6856 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.003915/1.107, allocations: 0.7443 MB / 0.9185 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006441/1.114, allocations: 1.949 MB / 0.9204 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/1.114, allocations: 4.797 kB / 0.9204 GB, free: 7.926 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003834/1.118, allocations: 1.332 MB / 0.9217 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004411/1.122, allocations: 0.509 MB / 0.9222 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/1.135, allocations: 3.69 MB / 0.9258 GB, free: 2.316 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002059/1.137, allocations: 1.462 MB / 0.9272 GB, free: 0.8242 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/1.139, allocations: 187.3 kB / 0.9274 GB, free: 0.6406 MB / 0.6856 GB Notification: Performance of SimCode: time 1.834e-06/1.139, allocations: 0 / 0.9274 GB, free: 0.6406 MB / 0.6856 GB Notification: Performance of Templates: time 0.08981/1.228, allocations: 64.4 MB / 0.9903 GB, free: 320 kB / 0.7481 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.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-master/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-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpDataCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpDataCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpDataCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpDataFunctions.cpp:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Sources.Examples.Outside_CpDataCalcHelperMain.o] Error 1